Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>tbcolumn</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 TBColumn
 Provide 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.

 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 Utilities Guide.  For a fully
        operational example of a TBrowse object, see TbDemo.prg located in
        \CLIP53\SOURCE\SAMPLE.

See Also: BROWSE()* DBEDIT() TBrowse class

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson