data-aware VDKCustomList widget.
More...
#include <vdkxclist.h>
Detailed Description
data-aware VDKCustomList widget.
This control can be used to browse an entire VDKXTable.
Constructor & Destructor Documentation
VDKXCustomList::VDKXCustomList |
( |
VDKForm * |
owner, |
|
|
int |
columns = 1 , |
|
|
char ** |
titles = NULL , |
|
|
GtkSelectionMode |
mode = GTK_SELECTION_SINGLE |
|
) |
| |
Constructor
- Parameters
-
owner | the form that owns widget |
columns | number of columns |
titles | coulumn titles |
mode | selection mode, can be:
- GTK_SELECTION_SINGLE
- GTK_SELECTION_BROWSE
- GTK_SELECTION_MULTIPLE
- GTK_SELECTION_EXTENDED
|
Member Function Documentation
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
- Parameters
-
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 |
The documentation for this class was generated from the following files: