-
With a form open, go into D“esign Mode”.
-
In the Toolbox, select (click on) the type of component you want
to add.
-
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.
-
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.