Aide:ControlMove.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
ControlMove
###Description###
Moves a control within a window.
###Syntax###
ControlMove ( "title", "text", controlID, x, y [, width [, height]] )
###Parameters###
@@ParamTable@@
title
The title of the window to move.
text
The text of the window to move.
controlID
The control to interact with. See <a href="../intro/controls.htm">Controls</a>.
x
X coordinate to move to relative to the window client area.
y
Y coordinate to move to relative to the window client area.
width
[optional] New width of the window.
height
[optional] New height of the window.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns 1.
Failure: Returns 0 if window/control is not found.
@@End@@
###Remarks###
If x and y equal to the <a href="..\keywords\Default.htm">Default keyword</a> no move occurs, just resizing.
###Related###
ControlCommand, ControlGetPos
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
ControlMove
###Description###
Affiche un contrôle précédemment caché.
###Syntax###
ControlMove ( "title", "text", controlID, x, y [, width [, height]] )
###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>.
x
La coordonnée x de la nouvelle position du contrôle, relatif à la zone cliente de la fenêtre.
y
La coordonnée y de la nouvelle position du contrôle, relatif à la zone cliente de la fenêtre.
width
[optionnel] Nouvelle largeur du contrôle.
height
[optionnel] Nouvelle hauteur du contrôle.
@@End@@
###ReturnValue###
@@ReturnTable@@
Succès: Retourne 1.
Échec: Retourne 0 si la fenêtre ou le contrôle est introuvable.
@@End@@
###Remarks###
Si x et y sont égaux à <a href="../keywords/Default.htm">Default</a>, le contrôle est redimensionné sans être déplacé.
###Related###
<a href="ControlCommand.htm">ControlCommand</a>, <a href="ControlGetPos.htm">ControlGetPos</a>
###Example###
@@IncludeExample@@
Traducteur : ZDS
Contributeurs (pour les modifications avant le Wiki) : Tlem