Adding a component from the Toolbox to a form

  1. With a form open, go into D「esign Mode」.
  2. In the Toolbox, select (click on) the type of component you want to add.
  3. Perform one of these actions:
    • To display the component at its default size, single-click the form.
    • To draw the component at the size you want, click-and-drag the component where you want it to display.
    注:  Regardless of the action you perform, the point where you click becomes the upper left corner of the component.
  4. Specify properties of the component as desired on the [Component] property sheet.

Alternatively, you can drag and drop a collection property onto the form to create a component. When you do that, an edit or combo box component, a static component, and in some cases, a grid component and caption, are all created, based on the property definition.

関連トピック