Aide:ControlSetText.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
ControlSetText
###Description###
Sets text of a control.
###Syntax###
ControlSetText ( "title", "text", controlID, "new text" [, flag] )
###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>.
new text
The new text to be set into the control.
flag
[optional] when different from 0 (default) will force the target window to be redrawn.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns 1.
Failure: Returns 0 if window/control is not found.
@@End@@
###Remarks###
None.
###Related###
ControlGetText, ControlCommand, ControlSend, SplashTextOn
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
ControlSetText
###Description###
Modifie le texte d'un contrôle.
###Syntax###
ControlSetText ( "title", "text", controlID, "new text" [, flag] )
###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>.
new text
Le nouveau texte à affecter au contrôle.
flag
[optionnel] Si ce paramètre est différent de 0 (défaut), la fenêtre sera rafraichie de force.
@@End@@
###ReturnValue###
@@ReturnTable@@
Succès: Retourne 1.
Échec: Retourne 0 si la fenêtre ou le contrôle est introuvable.
@@End@@
###Remarks###
Aucune.
###Related###
<a href="ControlGetText.htm">ControlGetText</a>, <a href="ControlCommand.htm">ControlCommand</a>, <a href="ControlSend.htm">ControlSend</a>, <a href="SplashTextOn.htm">SplashTextOn</a>
###Example###
@@IncludeExample@@
Traducteur : ZDS
Contributeurs (pour les modifications avant le Wiki) : Tlem