Export (0) Print
Expand All
M
MinHeight, MinWidth Properties (Band Object)
Expand Minimize

Visual Basic Reference

Visual Studio 6.0

MinButton Property

See Also    Example    Applies To

Returns a value indicating whether a form has a Minimize button.

Syntax

object.MinButton

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Return Values

The MinButton return values are:

Setting Description
True (Default) The form has a Minimize button.
False The form doesn't have a Minimize button.

Remarks

A Minimize button enables users to minimize a form window to an icon. To display a Minimize button, you must also set the form's BorderStyle property to either 1 (Fixed Single), 2 (Sizable), or 3 (Fixed Double).

The settings you specify for the MaxButton, MinButton, BorderStyle, and ControlBox properties aren't reflected in the form's appearance until run time.

Note   Minimizing a form to an icon at run time generates a Resize event. The WindowState 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.

Show:
© 2014 Microsoft