WebRadioGroup.CellSelected

From Xojo Documentation

Revision as of 23:41, 28 August 2019 by Gperlman (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
MessageBox("cell 0, 0")
Else
MessageBox("Not cell 0,0")
End If

The following selects (checks) the second radiobutton.

RadioGroup1.CellSelected(1, 0) = True