A pane's horizontal resizing behavior.
Usage
Set_Property(OLECtrlEntID, "OLE.PaneBehavior[index]", OptionValue)
Values
OptionValue can be set to one of the following valid options:
Value | Abbr. | Description |
---|---|---|
Fixed | FIX | The width is always equal the value of the PaneWidth property |
Minimum | MIN | The width is always equal to the minimum width needed to display its contents. The width changes when the contents change |
Maximum | MAX | The width is as large as possible without compromising the widths of the other panes. Maximum panes fill the remaining space on the status bar by dividing unused space amongst themselves |
Stretch | STR | The width starts at the value of the PaneWidth property but shrinks and grows proportionally with the status bar. The width is reset to the PaneWidth when the PaneWidth property changes |
Default: Maximum
Indices
Index | Description |
---|---|
index | Index to an existing pane |
Remarks
The PaneBehavior property establishes the resizing behavior of a pane. Fixed panes always use the PaneWidth property value to determine width. Stretch panes start at the value of PaneWidth but grow and shrink with the status bar. Minimum and Maximum panes ignore the PaneWidth property. Minimum panes always shrink to fit the caption, and Maximum panes always grow to fill unused space within the status bar control.