#include <vdkxclist.h>
This control can be used to browse an entire VDKXTable.
VDKXCustomList::VDKXCustomList | ( | VDKForm * | owner, | |
int | columns = 1 , |
|||
char ** | titles = NULL , |
|||
GtkSelectionMode | mode = GTK_SELECTION_SINGLE | |||
) |
Constructor
owner | the form that owns widget | |
columns | number of columns | |
titles | coulumn titles | |
mode | selection mode, can be:
|
xbShort VDKXCustomList::Read | ( | ) | [virtual] |
Read fields to control
Reimplemented from VDKXControl.
bool VDKXCustomList::AssignTableFieldToColumn | ( | int | column, | |
VDKXTable * | table, | |||
char * | fname | |||
) | [virtual] |
Assign a table field name to a list column
column | column index | |
table | table that owns the field | |
fname | field name as in table VDKXRecordTemplate descriptor structure (see it into xdb/dbf.h) It can hold:
|
bool VDKXCustomList::AssignTable | ( | VDKXTable * | t | ) |
Assign all the table to widget. List columns will be showed as in table record order