RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterActionButton.DisplayColumns Property

Indicates the number of columns to use when laying out the generated HTML control.

Pascal
property DisplayColumns: Integer;
C++
__property int DisplayColumns;

An adapter action may represent multiple commands. When the TCustomAdapterActionButton object generates controls for such an action, it must handle the layout of individual items for each of the action's commands. DisplayColumns controls how many items (controls) appear in a row before TCustomAdapterActionButton starts a new row of controls. 

If the corresponding adapter action does not represent multiple commands (that is, if its ItemCount property is not greater than 1), the value of DisplayColumns has no effect. 

If DisplayColumns is –1, the Web browser controls the layout of the adapter action's items. 

 

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