vdkxdb 2.4.0
Public Member Functions
VDKXEntry Class Reference

data-aware VDKEntry widget. More...

#include <vdkxentry.h>

Inheritance diagram for VDKXEntry:
VDKXControl

List of all members.

Public Member Functions


Detailed Description

data-aware VDKEntry widget.

This control interfaces a table field.


Constructor & Destructor Documentation

VDKXEntry::VDKXEntry ( VDKForm *  owner,
int  maxLen = 0,
char *  def = NULL 
)

Constructor

Parameters:
ownerforms that owns the widget
maxLenmax editable chars
defdefault value

Member Function Documentation

bool VDKXEntry::AssignTableField ( VDKXTable table,
char *  fname 
) [virtual]

Assign a table field to the control

Parameters:
tabletable that owns the field
fnamefield name as in table VDKXRecordTemplate descriptor structure (see it into xdb/dbf.h) It can hold:
  • character type
  • numeric types
  • date types

Reimplemented from VDKXControl.

bool VDKXEntry::AssignTableField ( VDKXDatabase xdb,
char *  tablename,
char *  fieldname 
) [inline, virtual]

Assign a table field to the control

Parameters:
xdbthe xdatabase
tablenamefilename of the table that owns the field
fieldnamefield 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.

xbShort VDKXEntry::Read ( ) [virtual]

Read field to control

Reimplemented from VDKXControl.

xbShort VDKXEntry::Write ( ) [virtual]

Writes control content to field.

Reimplemented from VDKXControl.


The documentation for this class was generated from the following files: