Aide:GUICtrlGetState.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
GUICtrlGetState
###Description###
Gets the current state of a control
###Syntax###
GUICtrlGetState ( [controlID] )
###Parameters###
@@ParamTable@@
controlID
[optional] The control identifier (controlID) as returned by a <a href="GUICtrlCreate Management.htm">GUICtrlCreate...</a> function.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns the state. See <a href="GUICtrlSetState.htm">GUICtrlSetState</a> for values.
Failure: Returns -1 if control is not defined.
@@End@@
###Remarks###
As opposed to <a href="GUICtrlRead.htm">GUICtrlRead</a> this function returns <b>ONLY</b> the state of a control enabled/disabled/hidden/show/dropaccepted
Exceptions:
For ListView controls it returns the number of the clicked column.
###Related###
GUICtrlRead, GUICtrlSetState
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
Texte en Français
Traducteur :
Contributeurs (pour les modifications avant le Wiki) :