vdkxdb 2.4.0
|
data-aware VDKEntry widget. More...
#include <vdkxentry.h>
Public Member Functions | |
VDKXEntry (VDKForm *owner, int maxLen=0, char *def=NULL) | |
virtual | ~VDKXEntry () |
Destructor. | |
virtual xbShort | Read () |
virtual xbShort | Write () |
virtual bool | AssignTableField (VDKXTable *table, char *fname) |
bool | AssignTableField (VDKXDatabase *xdb, char *tablename, char *fieldname) |
![]() | |
VDKXControl () | |
Constructor. | |
virtual | ~VDKXControl () |
Destructor. |
Additional Inherited Members | |
![]() | |
VDKXTable * | table |
table that owns field | |
VDKString | field_name |
field name | |
xbShort | field_id |
field number | |
xbShort | field_type |
data-aware VDKEntry widget.
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 |
|
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.
|
inlinevirtual |
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.
|
virtual |
Read field to control
Reimplemented from VDKXControl.
|
virtual |
Writes control content to field.
Reimplemented from VDKXControl.