<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > UpDown Control > UpDown Control Commands > UpDown_SetBase |
Description
Sets the radix base for an UpDown control.
Syntax
UpDown_SetBase(hWnd, ctrlID, NewBase)
Returns
Number.
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog containing the control |
ctrlID |
Number |
No |
Control identifier assigned to the control during CONTROL ADD ... |
NewBase |
Number |
No |
New base: indicate 10 or 16 |
Remarks
The base value determines whether the buddy window displays numbers in decimal or hexadecimal digits.
Hexadecimal numbers are always unsigned, and decimal numbers are signed.
Restrictions
See also
Examples