Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > UpDown Control >

UpDown_SetBase

Previous pageReturn to chapter overviewNext page

 

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