WebRadioGroup.CellSelected

From Xojo Documentation

Revision as of 14:28, 14 August 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

WebRadioGroup.CellSelected(Row as Integer, Column as Integer) As Boolean

New in 2010r4

Supported for all project types and targets.

Gets and sets the selected status of the passed radiobutton. If True, the passed radiobutton is selected (checked). Row and Column are zero-based.

Examples

The following tests whether the first radio button is selected:

If RadioGroup1.CellSelected(0, 0) Then
MsgBox("cell 0, 0")
Else
MsgBox("Not cell 0,0")
End If

The following selects (checks) the second radiobutton.

RadioGroup1.CellSelected(1, 0) = True