RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSelectOptionsColumn Class

TSelectOptionsColumn creates an HTML list control to represent a field value in a data grid.

Pascal
TSelectOptionsColumn = class(TWebSelectOptionsInput);
C++
class TSelectOptionsColumn : public TWebSelectOptionsInput;

MidItems

Add TSelectOptionsColumn as the child of a TDataGrid component to add a list control as the display control for a column. TSelectOptionsColumn represents the value of a field in the TDataGrid's associated dataset. 

Use the properties and methods of TSelectOptionsColumn to 

Specify the field whose value the list box displays. 

Specify the possible values for the field from which the user can choose. 

Specify the caption that appears at the top of the column. 

Customize the appearance of the list box. 

Fit the list box into the tab order of the generated HTML form. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!