Specifies whether a program icon appears in the upper-left corner and whether Minimize, Maximize, Restore, and Close buttons appear in the upper-right corner of a form. In the case of Toolbars the ControlBox Property controls the appearance of only the Close button. Available at design time and run time.
Applies To:| |
Both modal and modeless forms and toolbars can include a program 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 program icon, but the Move and Close menu commands remain available.