Condividi tramite


Command Group Builder

The Command Group builder makes it easy to set properties for a command group control. You set properties by selecting options in the Command Group Builder dialog box.

To use the Command Group builder

  1. Using the Form Controls toolbar, place a command group control on a form.

  2. Select and right-click the command group control, and then choose Builder from the Form Designer shortcut menu.

    A dialog box appropriate to the selected control appears.

  3. Choose the options you want from the dialog box, and then choose OK.

    When you choose OK, the builder closes, applying the property settings from every tab.

Builder Tabs

  • Buttons
    Specifies the number of buttons and the Caption and Picture properties of each.

  • Layout
    Specifies button layout (vertical or horizontal), spacing, and border style by controlling the Height and Width properties of the command group.

    Note   Command buttons may have captions, or graphics, or both. You can also specify graphics to be displayed when the button is disabled and when it is pressed, but you must do so programmatically or in the Properties window. For more details, see the DisabledPicture and DownPicture properties.

See Also

Builders | Buttons Tab, Command Group Builder | CommandButton Control | CommandGroup Control | Layout Tab, Command Group Builder | Properties Window