piColumnCount - cWebBaseContainer

Count of colums in the current web group

Type: Property (Web Property)

Access: Read/Write

Data Type: Integer

Parameters: None

 { WebProperty=Client }
 Property Integer piColumnCount

Web Property Read Access: WebGet piColumnCount to IntegerVariable
Web Property Write Access: WebSet piColumnCount to IntegerVariable/Value

Read Access: Get piColumnCount to IntegerVariable
Write Access: Set piColumnCount to IntegerVariable/Value


Count of colums in the current web group (cWebGroup.

A web control's X coordinate placement and width is determined by its piColumnIndex and piColumnSpan properties and its parent's piColumnCount property. The parent piColumnCount property determines how many equally spaced columns are created. piColumnIndex determines which column the control starts in and piColumnSpan determines how many columns the control will span. The actual width is determined by the number of columns and the width of the panel.

The default piColumnCount is 1, which means that each control is located on its own line.

If indexes and spans are out of range, the framework will adjust the best it can by trying to fit within the panel.

About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.
See Also