MinButton Property

See Also2A9WAYH

Applies To

Form14TJ2LN.

Description

Specifies whether a form has a Minimize buttonJMJUIC; read-only at run time.

Usage

[form.]MinButton

Setting

The MinButton property settings are:

Setting             Description

 

True                 (Default) The form has a Minimize button.

False                The form does not have a Minimize button.

 

Remarks

A Minimize button enables users to shrink a form window to an icon529QBG.  To display a Minimize button, you must also set the form's BorderStyle43RNRL property to either 1 (Fixed Single) or 2 (Sizable).

The settings you specify for MaxButton117DCC7, MinButton, BorderStyle, and ControlBox35ZQLA are not reflected in the form's appearance until run time.

In Microsoft Windows version 3.0, an MDI child formEXWLAX appears with a Minimize button regardless of the MinButton setting.  However, if MinButton is False, it does not respond to mouse clicks and the Minimize command is not on the form's Control-menu box.

 

Note   Shrinking a form to an icon at run time generates a Resize2WM7WLP event.  The WindowStateI5APPB property reflects the current state of the window.  If you set the WindowState property to 2 (Maximized), the form is maximized independently of whatever settings are in effect for the MaxButton and BorderStyle properties.

 

Data Type

IntegerDOKXHY (Boolean)


See Also

Help:

Assigning an Icon to a Form42XO904

ControlBox Property35ZQLA

MaxButton Property117DCC7