Returns or sets the minimum width of the object.
Object.MinWidth [ = fMinWidth ]
The MinWidth property syntax has the following parts:
Name |
Type |
Description |
Object |
AStatusBarPane |
AStatusBarPane object |
fMinWidth |
Float |
An integer specifying the minimum width of the object, in pixels. |
The MinWidth property is used when the AutoSize property is set to Contents or Stretch, to prevent the pane from autosizing to a width that is too small. When the AutoSize property is set to None, the MinWidth property is always set to the same value as the Width property.
The default value is the same as the default of the Width property.
The following statement changes the minimum width to be 100 pixels:
sbrp1.Panes(0).MinWidth=100