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:

ValueAbbr.Description
FixedFIXThe width is always equal the value of the PaneWidth property
MinimumMINThe width is always equal to the minimum width needed to display its contents. The width changes when the contents change
MaximumMAXThe 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
StretchSTRThe 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

IndexDescription
indexIndex 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.

See Also

PaneWidth

  • No labels