TBColumn
Define a data column for a TBrowse display. Each column has a callback that returns the value for the current row.
Creating and freeing
Instance variables
TBColumnGetBlockC
Return the text callback
TBColumnGetBlockD
Return the date callback
TBColumnGetBlockL
Return the logical callback
TBColumnGetBlockN
Return the numeric callback
TBColumnGetCargo
Return the application data pointer stored on the column
TBColumnGetColorBlock
Return the callback that can override the default color indices for a cell
TBColumnGetColSep
Return the column separator override
TBColumnGetDefColor
Copy the four default color indices into colors
TBColumnGetFooting
Return the column footing
TBColumnGetFootSep
Return the footing separator override
TBColumnGetHeading
Return the column heading
TBColumnGetHeadSep
Return the heading separator override
TBColumnGetPicture
Return the stored picture string, or NULL
TBColumnGetPostBlock
Return the stored callback for validating an edited value
TBColumnGetPreBlock
Return the stored callback for deciding whether editing can begin
TBColumnGetType
Return the column type 'C', 'D', 'L', or 'N'
TBColumnGetWidth
Return the configured width in characters
TBColumnSetBlockC
Set the callback and make the column text type
TBColumnSetBlockD
Set the callback and make the column date type
TBColumnSetBlockL
Set the callback and make the column logical type
TBColumnSetBlockN
Set the callback and make the column numeric type
TBColumnSetCargo
Store the application data pointer used by the callbacks
TBColumnSetColorBlock
Set a callback that receives the cell value as a const ITEM * and can update the supplied color indices
TBColumnSetColSep
Set the column separator
TBColumnSetDefColor
Copy four one-based indices from the browse color table
TBColumnSetFooting
Copy a footing into the column
TBColumnSetFootSep
Set the footing separator
TBColumnSetHeading
Copy a heading into the column
TBColumnSetHeadSep
Set the heading separator
TBColumnSetPicture
Set the picture that formats the values of the column, or pass NULL to remove it
TBColumnSetPostBlock
Store a validation callback or pass NULL to clear it
TBColumnSetPreBlock
Store an editing callback or pass NULL to clear it
TBColumnSetWidth
Set the width in characters