DIAdem Help

Object: SpinBox

  • Updated2024-09-12
  • 2 minute(s) read

Object: SpinBox

The SpinBox object corresponds to the SpinBox control in a user dialog box. You use the SpinBox object to define a control to be displayed in a user dialog box. The control has incrementing and decrementing arrows that change the numeric value in an EditBox. To assign a SpinBox to an EditBox use the Tabulator Order dialog box where you specify that the Spinbox of the user dialog box is enabled directly after the Editbox with <Tab>.

If you include a SpinBox in a user dialog box directly after including an EditBox, the two controls are automatically linked. You can use the EditBuddy property for the SpinBox to disable the link.

The following example specifies the lower and upper limit for SpinBox1:

SpinBox1.Minimum = 1
SpinBox1.Maximum = 10

Properties Only Available on the Properties Tab

EditBuddy | Flex | Layer | Orientation