CONTROL GET CHECK

<< Click to Display Table of Contents >>

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

CONTROL GET CHECK

 

Description

 

Get the Check status of a CHECK3STATE, CHECKBOX, or OPTION control.

 

Syntax

 

CONTROL GET CHECK hWnd, ctrlID TO VarCheck

 

Returns

 

None

 

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 ...

VarCheck

Variable

No

A single numeric variable that will get the check state.

 

Remarks

 

Restrictions

 

Usable only for some controls, for example Checkbox, Check3State and Option.

 

See also

 

Examples