Control_GetNumber

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Commands >

Control_GetNumber

 

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