Previous Topic: Defining a Multi-line Edit Control

Next Topic: Regenerating the Function

Adding Spin Controls

In the following steps, you modify the two date fields so that they include spin controls.

  1. On the Design window, hold down CTRL and click one of the edit controls of the date fields. Holding down CTRL causes the control to be selected instead of the region in which it is contained.
  2. Hold down CTRL and SHIFT at the same time and click the other date control. Both date controls should now be selected and the Design window should look like this:

    Adding Spin Controls

  3. In the Property Sheet, locate the Spin Control property and set it to Yes.

    Adding Spin Controls (2)

    Notice how you can select multiple elements on a panel and change properties for all of them.

  4. From the File menu, choose Save.
  5. Close the Design Window. This closes the whole Panel Designer.