SETSTATE

Top  Previous  Next

Syntax

SETSTATE(win as WINDOW,id as INT,state as INT)

Description

Sets or resets a checkbox or radio button control.

Parameters

win - Window or dialog containing the control.

id - Identifier of the control.

state - New state of the control.

Return value

None

Remarks

State can either be 0 to uncheck the control or 1 to check the control.

See Also: GETSTATE

Example usage

SETSTATE win, 1, 1