vdkxdb 2.4.0
|
data-aware VDKCustomList widget. More...
#include <vdkxclist.h>
data-aware VDKCustomList widget.
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:
|
bool VDKXCustomList::AssignTable | ( | VDKXTable * | t | ) |
Assign all the table to widget. List columns will be showed as in table record order
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:
|
xbShort VDKXCustomList::Read | ( | ) | [virtual] |
Read fields to control
Reimplemented from VDKXControl.