RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterCommandColumn Class

TAdapterCommandColumn generates a column of action controls in an adapter grid.

Pascal
TAdapterCommandColumn = class(TCustomAdapterCommandColumn);
C++
class TAdapterCommandColumn : public TCustomAdapterCommandColumn;

Add TAdapterCommandColumn as a child Web item to an adapter grid (TAdapterGrid). TAdapterCommandColumn adds a column to the grid that contains controls that execute adapter actions. Specify the controls in the cells of this column by adding adapter action buttons (TAdapterActionButton objects) as child Web items of the TAdapterCommandColumn object. Each cell in the column contains all the adapter action buttons you add as child Web items. For each row in the grid, the column contains duplicates of the same set of adapter action buttons. 

Use the TAdapterCommandColumn properties to specify which adapter action buttons appear in the column and to customize their layout and appearance. These properties include: 

The AddDefaultCommands, WebFieldControls, and VisibleCommands properties, which specify which adapter action buttons appear in the column. 

The Caption and CaptionAttributes properties, which determine the appearance of the label at the top of the column. 

The Align, VAlign, and DisplayColumns properties, which determine the layout of controls inside each cell. 

The Style and StyleRule properties, which let you apply a style from a stylesheet to the column. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!