Wählt ein Element eines OptionSelect aus.
#Include <FF.au3>
_FFFormOptionSelect([$vElement = 0[, $sElementMode = "index"[, $vOption = 0[, $sOptionMode = "index"[, $vForm = 0[, $sFormMode = "index"]]]]]])
Parameters
$vElement | Optional: Index (0-n) oder Name des Elements. 0 = (Default) |
||||||||||||
$sElementMode |
| ||||||||||||
$vOption | Optional: Index (0-n), Name, ID, Text oder Value der Option. 0 = (Default) |
||||||||||||
$sOptionMode |
| ||||||||||||
$vForm | Optional: Index (0-n), Name oder ID des Formulars. 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
Bei allen Parametern kann auch das SchlüsselwortDefault
angegeben werden.
Related
_FFFormCheckBox, _FFFormRadioButton, _FFFormReset, _FFFormSubmit
Example