peFixedPanel - cDbSplitterContainer
Determines how each child panel is resized when the parent container is resized
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer peFixedPanel
| Access Type | Syntax |
|---|---|
| Read Access: | Get peFixedPanel to IntegerVariable |
| Write Access: | Set peFixedPanel to IntegerVariable/Value |
Description
When resizing a component, such as a view, with a cSplitterContainer and 2 child cSplitterContainerChild panel objects in it, one of the child panel objects is going to remain a fixed size, while the other panel object resizes. This property determines which panel remains fixed and which resizes.
The first panel will be the left or top panel, depending on the setting of pbSplitVertical, while the last panel will be the right or bottom panel.
Valid values are:
| Constant | Meaning |
|---|---|
| fpFixFirstPanel | Keeps the first (left or top) panel's size fixed |
| fpFixLastPanel | Keeps the last (right or bottom) panel's size fixed |
Sample
Set peFixedPanel to fpFixFirstPanel
Default is fpFixFirstPanel.