Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

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:
owner forms that owns the widget
maxLen max editable chars
def default value


Member Function Documentation

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

Assign a table field to the control

Parameters:
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

Parameters:
table table that owns the field
fname field 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.

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:
Generated on Fri Aug 13 12:14:04 2004 for vdkxdb 2.0.2 by doxygen 1.3.7