Member variable XbpStatusBarPanel():autosize Foundation

Specifies the panel object's behaviour during resize operations.

Attribute: EXPORTED

When an XbpStatusBar instance is resized by the application, the size of the individual status bar panel objects displayed must be re-evaluated. The :autosize instance variable can be used by an Xbase++ application to specify how an XbpStatusBarPanel should respond when its container object is resized. One of the following constants can be assigned to the :autoSize instance variable:

Constants defined controlling resize behaviour
Constant Description
XBPSTATUSBAR_AUTOSIZE_NONE *) The panel object retains its width during resize operations.
XBPSTATUSBAR_AUTOSIZE_SPRING The panel object resizes itself to use extra space, if available. Minimum width as defined in :minWidth.
XBPSTATUSBAR_AUTOSIZE_CONTENTS The panel object resizes itself so that its contents are entirely visible.
  1. Default value

If the panel(s) defined for an XbpStatusBar object should span the whole width of their container, at least one panel should be defined with the value XBPSTATUSBAR_AUTOSIZE_SPRING assigned to its :autosize instance variable.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.