Aide:ControlGetFocus.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
ControlGetFocus

###Description###
Returns the ControlRef# of the control that has keyboard focus within a specified window.

###Syntax###
ControlGetFocus ( "title" [, "text"] )


###Parameters###
@@ParamTable@@
title
	Title of window to check.
text
	[optional] Text from window to check.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns the <a href="../intro/controls.htm">ClassNameNN</a> of the control that has keyboard focus within a specified window.
Failure:	Returns "" (blank string) and sets @error to 1 if window is not found.
@@End@@


###Remarks###
None.

###Related###
ControlFocus, ControlCommand


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
ControlGetFocus

###Description###
Retourne la référence du contrôle ayant le focus dans une fenêtre donnée.


###Syntax###
ControlGetFocus ( "title" [, "text"] )


###Parameters###
@@ParamTable@@
title
	Le titre de la fenêtre à atteindre.
text
	[optionnel] Le texte de la fenêtre à atteindre.
@@End@@

###ReturnValue###
@@ReturnTable@@
Succès:	Retourne la référence <a href="../intro/controls.htm">ClassNameNN</a> du contrôle ayant le focus dans la fenêtre donnée.
Échec:	Retourne "" (chaine vide) et met @error à 1 si la fenêtre est introuvable.
@@End@@


###Remarks###
Aucune.


###Related###
<a href="ControlFocus.htm">ControlFocus</a>, <a href="ControlCommand.htm">ControlCommand</a>


###Example###
@@IncludeExample@@


Traducteur : ZDS

Contributeurs (pour les modifications avant le Wiki) : Tlem