See Also
Applies To
Form.
Description
Specifies whether a Control-menu box
Usage
[form.]ControlBox
Setting
The ControlBox property settings are:
Setting Description
True (Default) Displays the Control-menu box.
False Removes the Control-menu box.
Remarks
To display a Control-menu box, you must also set the form's BorderStyle
Both modal The commands available at run time depend on the settings for related propertiesfor example, setting MaxButton and MinButton to False disables the Maximize and Minimize commands on the Control menu, but the Move and Close commands remain available.
In Microsoft Windows version 3.0, an MDI child form However, if ControlBox is False, the menu appears without Close or Next commands.
Note Settings you specify for ControlBox, BorderStyle, MaxButton, and MinButton are not reflected in the form's appearance until run time.
Data Type
Integer (Boolean)
Help:
BorderStyle Property
MaxButton Property
MinButton Property
Programmer's Guide:
Chapter 4, "Menus and Dialogs"