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

VDKXCustomList Class Reference

data-aware VDKCustomList widget. More...

#include <vdkxclist.h>

Inheritance diagram for VDKXCustomList:

VDKXControl List of all members.

Public Member Functions


Detailed Description

data-aware VDKCustomList widget.

This control can be used to browse an entire VDKXTable.


Constructor & Destructor Documentation

VDKXCustomList::VDKXCustomList VDKForm *  owner,
int  columns = 1,
char **  titles = NULL,
GtkSelectionMode  mode = GTK_SELECTION_SINGLE
 

Constructor

Parameters:
owner the form that owns widget
columns number of columns
titles coulumn titles
mode selection mode, can be:
  • GTK_SELECTION_SINGLE
  • GTK_SELECTION_BROWSE
  • GTK_SELECTION_MULTIPLE
  • GTK_SELECTION_EXTENDED


Member Function Documentation

bool VDKXCustomList::AssignTable VDKXTable t  ) 
 

Assign all the table to widget. List columns will be showed as in table record order

bool VDKXCustomList::AssignTableFieldToColumn int  column,
VDKXTable table,
char *  fname
[virtual]
 

Assign a table field name to a list column

Parameters:
column column index
table table that owns the field
fname field name as in table VDKXRecordTemplate descriptor structure (see it into xdb/dbf.h) It can hold:
  • all field types

xbShort VDKXCustomList::Read  )  [virtual]
 

Read fields to control

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