RadioButton.SetChecked

RadioButton.SetChecked (

string ObjectName,

boolean Checked = true )

Description

Sets the checked/unchecked state of a radiobutton object.

Note: By default, radiobutton objects on the same page or dialog are part of the same group (blank group ID), so when you check a radiobutton, the other radiobuttons in that group will automatically be unchecked. This also applies to custom group IDs. Unchecking a radio button has no effect on any other radiobuttons. If you do not want the automatic checking, create each radiobutton with a unique group ID.

Parameters

ObjectName

(string) The name of the radiobutton object.

Checked

(boolean) Whether to make the radiobutton object checked or unchecked:

VALUE

DESCRIPTION

true

Checked. (Default)

false

Unchecked.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions