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

VDKXCheckButton Class Reference

data-aware VDKCheckButton widget. More...

#include <vdkxcheckbutton.h>

Inheritance diagram for VDKXCheckButton:

VDKXControl List of all members.

Public Member Functions


Detailed Description

data-aware VDKCheckButton widget.

This control interfaces a logical xdb fields.


Constructor & Destructor Documentation

VDKXCheckButton::VDKXCheckButton VDKForm *  owner,
char *  label = (char *) NULL,
char *  tip = (char *) NULL
 

Constructor

Parameters:
owner the form that owns the control
label widget label
tip widget tip


Member Function Documentation

bool VDKXCheckButton::AssignTableField VDKXDatabase xdb,
char *  tablename,
char *  fieldname
[inline, 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.

bool VDKXCheckButton::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:
  • logical field type. Returns false on failure.

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.


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