vdkxdb 2.4.0
Public Member Functions
VDKXMemo Class Reference

data-aware VDKText widget. More...

#include <vdkxmemo.h>

Inheritance diagram for VDKXMemo:
VDKXControl

List of all members.

Public Member Functions


Detailed Description

data-aware VDKText widget.

This control uses an underlying xdb memo field.


Member Function Documentation

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

Reimplemented from VDKXControl.

bool VDKXMemo::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 VDKXMemo::Read ( ) [virtual]

Read field to control

Reimplemented from VDKXControl.

xbShort VDKXMemo::Write ( ) [virtual]

Writes control content to field.

Reimplemented from VDKXControl.


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