Selects an element of an OptionSelect.
#Include <FF.au3>
_FFFormOptionSelect([$vElement = 0[, $sElementMode = "index"[, $vOption = 0[, $sOptionMode = "index"[, $vForm = 0[, $sFormMode = "index"]]]]]])
Parameters
$vElement | Optional: index (0-s), ID or name of the element. . 0 = (Default) |
||||||||||||
$sElementMode |
| ||||||||||||
$vOption | Optional: Index (0-n), name, ID, text or value of the option. 0 = (Default) |
||||||||||||
$sOptionMode |
| ||||||||||||
$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) 3 ($_FF_ERROR_InvalidDataType) 4 ($_FF_ERROR_InvalidValue) |
Remarks
For all parameters can also used the keyword Default.
Related
_FFFormCheckBox, _FFFormRadioButton, _FFFormReset, _FFFormSubmit
Example