[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
TBColumn
Provides column objects for TBrowse objects
------------------------------------------------------------------------------
Description
A TBColumn object is a simple object containing the information needed
to fully define one data column of a TBrowse object (see the TBrowse
reference in this chapter). TBColumn objects have no methods, only
exported instance variables.
Examples
. This example is a code fragment that creates a TBrowse object
and adds some TBColumn objects to it:
USE Customer NEW
//
// Create a new TBrowse object
objBrowse := TBrowseDB(1, 1, 23, 79)
//
// Create some new TBColumn objects and
// add them to the TBrowse object
objBrowse:addColumn(TBColumnNew( "Customer", ;
{|| Customer->Name} ))
objBrowse:addColumn(TBColumnNew( "Address", ;
{|| Customer->Address} ))
objBrowse:addColumn(TBColumnNew( "City", ;
{|| Customer->City} ))
.
. <statements to actually browse the data>
.
CLOSE Customer
For more information on TBrowse, refer to the Introduction to
TBrowse chapter in the Programming and Utilitites guide.
For fully operational examples of TBrowse objects, see also the
TBROW subdirectory located in \CLIPPER5\SOURCE\TBROW.
See Also:
BROWSE()*
DBEDIT()*
TBrowse
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson