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

VDKXCustomList Class Reference

data-aware VDKCustomList widget. More...

#include <vdkxclist.h>

Inheritance diagram for VDKXCustomList:

VDKXControl List of all members.

Public Methods


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 Apr 5 01:15:50 2002 for vdkxdb 0.0.4 by doxygen1.2.15