RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterCommandColumn Class

TCustomAdapterCommandColumn is the base class for components that generate a column of action controls in an adapter grid.

Pascal
TCustomAdapterCommandColumn = class(TWebControlGroup, IWebActionsList, IAddFieldsEditor, IFormatColumn, IGetAdapterDisplayCharacteristics, INotifyAdapterChange);
C++
class TCustomAdapterCommandColumn : public TWebControlGroup, public IWebActionsList, public IAddFieldsEditor, public IFormatColumn, public IGetAdapterDisplayCharacteristics, public INotifyAdapterChange;

WebForm

Use TCustomAdapterCommandColumn as a base class when creating a specialized display control that organizes the output of several adapter action buttons (TAdapterActionButton objects) into a column of an adapter grid (TAdapterGrid). TCustomAdapterCommandColumn generates the HTML to lay out a single column of an adapter grid. Each cell in the column can contain one or more adapter action buttons, each of which executes an adapter action. For each row in the grid, the column contains duplicates of the same set of adapter action buttons. 

Use the TCustomAdapterCommandColumn 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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!