pbFillHeight - cWebBaseControl

Determines whether the control fills all vertical space or not

Type: Property (Web Property)

Access: Read/Write

Data Type: Boolean

Parameters: None

 { WebProperty=Client }
 Property Boolean pbFillHeight

Web Property Read Access: WebGet pbFillHeight to BooleanVariable
Web Property Write Access: WebSet pbFillHeight to BooleanVariable/Value

Read Access: Get pbFillHeight to BooleanVariable
Write Access: Set pbFillHeight to BooleanVariable/Value


If True, then the control is vertically stretched to fill all available space. If False, it will use piHeight.

The available space is divided among all controls with pbFillHeight set to True within a panel.

Grid Layout

Grid Layout applies if peLayoutType = ltGrid.

If pbFillHeight is set to True, the control will attempt to size its height to its allocated rows, effectively causing it to fill any rows it is assigned to. Combine pbFillHeight with rows set to 1 or more fractions ("1fr") to get a similar effect to that of pbFillHeight in Flow Layout.

If set to False, the control will attempt to retain its "natural height", usually determined by CSS, piHeight, piMinHeight or a combination of these.

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.