#include <vdkxentry.h>
Inheritance diagram for VDKXEntry:
This control interfaces a table field.
VDKXEntry::VDKXEntry | ( | VDKForm * | owner, | |
int | maxLen = 0 , |
|||
char * | def = NULL | |||
) |
Constructor
owner | forms that owns the widget | |
maxLen | max editable chars | |
def | default value |
bool VDKXEntry::AssignTableField | ( | VDKXDatabase * | xdb, | |
char * | tablename, | |||
char * | fieldname | |||
) | [inline, virtual] |
Assign a table field to the control
xdb | the xdatabase | |
tablename | filename of the table that owns the field | |
fieldname | field name as in table VDKXRecordTemplate descriptor structure (see it into xdb/dbf.h) Note: not all controls can hold all types, see subclasses for detailed informations. |
Reimplemented from VDKXControl.
bool VDKXEntry::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.
xbShort VDKXEntry::Read | ( | ) | [virtual] |
Read field to control
Reimplemented from VDKXControl.
xbShort VDKXEntry::Write | ( | ) | [virtual] |
Writes control content to field.
Reimplemented from VDKXControl.