Previous Topic: Define a Multiline Edit ControlNext Topic: Regenerate the Function


Add Spin Controls

The spin control lets the end user increase or decrease the value in the fields by clicking the arrow buttons instead of typing a value in the edit box.

To 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:

    Add Spin Controls

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

    Add 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, click Save.
  5. Close the Design Window.

    This closes the whole Panel Designer.