Condividi tramite


ControlBox Property

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]

Property Values

  • 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.

Remarks

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.

See Also

BorderStyle Property | Closable Property | MaxButton Property | MinButton Property

Applies To: Form Object | _SCREEN | ToolBar Object