Specifies whether a pop-up menu icon appears in the upper-left corner of a form or toolbar at run time. Available at design time and run time.
Object.ControlBox[ = lExpr]
- The settings for the ControlBox property are:
Setting Description True (.T.) (Default) Displays a pop-up menu icon. False (.F.) Does not display a pop-up menu icon.
Both modal and modeless forms and toolbars can include a pop-up menu icon. The menu commands available at run time depend on the settings for related properties. For example, setting MaxButton and MinButton to False (.F.) disables the Maximize and Minimize menu commands on the pop-up menu, but the Move and Close menu commands remain available.
Note Settings you specify for ControlBox, BorderStyle, MaxButton, and MinButton are not reflected in the form's appearance until run time.