Member variable XbpPushButton():autoSize Foundation

Automatically fits the size of the pushbutton to the caption.

Attribute: EXPORTED
Data type: Logical (.F.)

The default value of :autoSize is .F. (false). This means that a pushbutton is displayed in the size specified in the parameter <aSize> when the button is created. If :autoSize is set to .T. (true), the pushbutton is automatically resized to fit the caption. If this instance variable is set to .T., the <aSize> parameter of the :create() method cannot be specified, or must be specified as the array {0,0}.


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.