Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLs >

Control_GetNumber

Previous pageReturn to chapter overviewNext page

 

Description

 

Get text from a control and returns it as a numeric value (if compatible). This is the functional form of CONTROL GET TEXT plus VAL

 

Syntax

 

n = CONTROL_GetNumber(hwnd, ctrlID)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier





 

Remarks

 

Restrictions

 

See also

 

Examples