Selects a RadioButton in a form
#Include <FF.au3>
_FFFormRadioButton($vRadioButton[, $iRadioButtonIndex = 0[, $sRadioButtonMode = "index"[, $vForm = 0[, $sFormMode = "index"]]]])
Parameters
$vRadioButton | Name, ID or value of the radio-button. | ||||||||||
$iRadioButtonIndex | Optional: Index of the radio-button (0-n) 0 = (Default) |
||||||||||
$sRadioButtonMode |
| ||||||||||
$vForm | Optional: Index (0-n), name or ID of the form. 0 = (Default) |
||||||||||
$sFormMode |
|
Return Value
Success: | Returns 1 |
Failure: | Returns 0 and sets @ERROR |
@ERROR: |
0 ($_FF_ERROR_Success) 2 ($_FF_ERROR_SocketError) 4 ($_FF_ERROR_InvalidValue) |
Remarks
For all parameters can also used the keyword Default.
Related
_FFFormCheckBox, _FFFormOptionSelect, _FFFormReset, _FFFormSubmit
Example
#Include <FF.au3> _FFStart("http://ff-au3-example.thorsten-willert.de/") If _FFIsConnected() Then _FFFormRadioButton(1, 0, "index") Sleep(3000) _FFFormRadioButton("size", 2, "name", "Pizza", "name") EndIf