Aide:ControlGetText.txt

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

Document original V3.3.6.1 :

###Function###
ControlGetText

###Description###
Retrieves text from a control.

###Syntax###
ControlGetText ( "title", "text", controlID )


###Parameters###
@@ParamTable@@
title
	The title of the window to access.
text
	The text of the window to access.
controlID
	The control to interact with.  See <a href="../intro/controls.htm">Controls</a>.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns text from a control.
Failure:	Sets @error to 1 and returns a blank string of "".
@@End@@


###Remarks###
None.

###Related###
WinGetText, StatusbarGetText, ControlSetText, ControlCommand


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


Document traduit V3.3.6.1 :

###Function###
ControlGetText

###Description###
Retourne le texte d'un contrôle.


###Syntax###
ControlGetText ( "title", "text", controlID )


###Parameters###
@@ParamTable@@
title
	Le titre de la fenêtre à atteindre.
text
	Le texte de la fenêtre à atteindre.
controlID
	Le contrôle avec lequel interagir. Voir <a href="../intro/controls.htm">Controls</a>.
@@End@@

###ReturnValue###
@@ReturnTable@@
Succès:	Retourne le texte d'un contrôle (contenu, label).
Échec:	Retourne "" (chaine vide) et met @error à 1 si la fenêtre ou le contrôle est introuvable.
@@End@@


###Remarks###
Aucune.


###Related###
<a href="WinGetText.htm">WinGetText</a>, <a href="StatusbarGetText.htm">StatusbarGetText</a>, <a href="ControlSetText.htm">ControlSetText</a>, <a href="ControlCommand.htm">ControlCommand</a>


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


Traducteur : ZDS

Contributeurs (pour les modifications avant le Wiki) : Tlem