Spin Control Attributes Window

#### Search Results

Search

# Spin Control Attributes Window

Accessible Using

1. Double-click on the spin control (not on its buddy, if any); or

2. if selected: "Control > Attributes" or by selecting 'Attributes...' from the control's context menu.

3. if selected: ENTER.

## Entries

Note
For context-sensitive help on attribute entries, select the entry so it has the focus, and press F1.

Entry in Attributes Window | Represents
--- | ---
Name | Handle name of the spin control (may be overwritten with another name).
Context Menu | CONTEXT-MENU attribute value. Specifies the context menu (if any) associated with the control.
Array... | Dialog box for defining an array of input field controls.
String | STRING attribute value.
`...` | "Source" dialog box for determining sources of STRING attribute values.
Font | Output field where the font currently selected is displayed.
`...` | Dialog box for selecting fonts.
DIL text | DIL-TEXT attribute value (string).
`...` | Dialog box for determining sources of DIL-TEXT attribute values.
Context Menu | CONTEXT-MENU attribute value. Specifies the context menu (if any) associated with the control.
Help ID | HELP-ID attribute value.
Range: |
Min | MIN attribute value. Lower limit of control's numeric range.
Max | MAX attribute value. Upper limit of control's numeric range.
Pos. | POSITION attribute value. Current position within control's numeric range.
Style: |
Horizontal | STYLE attribute value. Control is oriented horizontally, rather than vertically.
Left align | STYLE attribute value. The control has an implicit buddy input field. The spin control's buttons are aligned to the left of the buddy.
Right align | STYLE attribute value. The control has an implicit buddy input field. The spin control's buttons are aligned to the right of the buddy.
Set buddy | STYLE attribute value. Buddy control (if any) is automatically set to indicate the spin control's position when the latter changes.
Wrap | STYLE attribute value. Control value wraps from maximum to minimum value, and vice versa, if scrolled past the corresponding limit.
Arrow keys | STYLE attribute value. The control's value can be scrolled via use of the arrow keys.
No thousands | STYLE attribute value. No thousands separators are displayed in the buddy control (if any). For example, "1234" instead of "1,234".
Hot tracking | STYLE attribute value. Buttons are highlighted when traversed by the mouse cursor. Note This option is implicitly set if Windows XP styles are in use.
Hexadecimal | STYLE attribute value. Values are displayed in buddy control (if any) in hexadecimal format (e.g. "0x0032" instead of "50"). Note This option is only effective if the "set buddy" style is also set.
State: |
Visible | VISIBLE attribute value. Control will be shown.
Enabled | ENABLED attribute value. Control can accept user input.
Rectangle: | The following four attributes decide the input field control's x and y axis position, its height and its width on the screen. X - RECTANGLE-X attribute value. Y - RECTANGLE-Y attribute value. W - RECTANGLE-W attribute value. H - RECTANGLE-H attribute value.
OK | Save settings and exit the window.
Cancel | Exit the window without saving the settings.
Help | Provides online help on the attributes window.