RenderMode: Sets a specific style for the controlĭock: Sets the control's location to the top or bottom, or the left or right side, of the form Insert Standard Items: Adds standard command items to the control ( Figure 3 shows the MenuStrip Tasks dialog box.) The available MenuStrip and ToolStrip tasks are shown in this list:Įmbed in ToolStripContainer: Moves the control inside a ToolStripContainer control The MenuStrip and ToolStrip controls display the same task dialog box. Click this arrow to access a taskĭialog box that displays common tasks for each control. A smart tag-enabled control has a littleĪrrow in its upper-right corner. Click Insert Standard Items to add standard menu items to the MenuStrip control.Ĭontrols are smart tag-enabled. Repeat Steps 1–3 to add a ToolStrip control to the form and insert standard items on the toolbar.įigure 3. To add a menu to a form and configure the menu, follow these steps: The procedure for adding items, working withĬontainers, and setting properties is consistent across all menu and Properties that allow you to set the look and feel of menus and toolbarsīecause all menu and toolbar controls are related, they share the ToolStripĬontrol's features. Items that you can add to the menu and toolbar controls, such as ToolStripMenuItemĬontainer controls that allow menus and toolbars to coexist in the same container The ToolStrip control, the granddaddy of all the menu and toolbars controls, has these features: ToolStripContainer: A container for hosting menu and toolbar controls ToolStrip: A control that creates toolbars StatusStrip: A band that usually appears along the bottom of a form that displays status feedback information MenuStrip: A standard menu that usually appears at the top of a form ![]() Studio provides these two menu controls and three toolbar controls:ĬontextMenuStrip: The shortcut menu that appears when a user right-clicks Have menus and toolbars that give users access to commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |