data-aware VDKCheckButton widget. More...
#include <vdkxcheckbutton.h>
data-aware VDKCheckButton widget.
This control interfaces a logical xdb fields.
VDKXCheckButton::VDKXCheckButton | ( | VDKForm * | owner, | |
char * | label = (char*) NULL , |
|||
char * | tip = (char*) NULL | |||
) |
Constructor
owner | the form that owns the control | |
label | widget label | |
tip | widget tip |
bool VDKXCheckButton::AssignTableField | ( | VDKXTable * | table, | |
char * | fname | |||
) | [virtual] |
Assign a table field to the control
table | table that owns the field | |
fname | field name as in table VDKXRecordTemplate descriptor structure (see it into xdb/dbf.h) It can hold:
|
Reimplemented from VDKXControl.
bool VDKXCheckButton::AssignTableField | ( | VDKXDatabase * | xdb, | |
char * | tablename, | |||
char * | fieldname | |||
) | [inline, virtual] |
Assign a table field to the control
table | table that owns the field | |
fname | field name as in table VDKXRecordTemplate descriptor structure (see it into xdb/dbf.h) It can hold:
|
Reimplemented from VDKXControl.
xbShort VDKXCheckButton::Read | ( | ) | [virtual] |
Read field to control
Reimplemented from VDKXControl.
xbShort VDKXCheckButton::Write | ( | ) | [virtual] |
Writes control content to field.
Reimplemented from VDKXControl.