|
Common Operations.
Set the value of a text field:
theField.Value = "Mr Jones";
Set a checkbox:
theField.Value = theField.Options[0];
Clear a checkbox:
Set the fifth Radio Button in a group:
theField.Value = theField.Options[4];
Read whether a checkbox is checked (ticked):
bool isChecked = theField.Value != "Off";
Read which Radio Button in a group is selected. The value is the
on-state of the selected button, or "Off" if none is selected:
string selected = theField.Value;
|