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

CONTROL SET CHECK

Previous pageReturn to chapter overviewNext page

 

Description

 

Set the Check status for a CHECK3STATE or CHECKBOX control.

 

Syntax

 

CONTROL SET CHECK hwnd, ctrlID, CheckValue

 

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

CheckValue

Number

No

If control is a CHECKBOX:

0 = Uncheck

1 = Check

If control is a CHECK3STATE:

0 = Uncheck

1 = Check (display an 'X' in the box)

2 = Indeterminate state (display a filled box).

 

 

Remarks

 

Restrictions

 

See also

 

Examples