Aide:GUICtrlCreateGroup.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
GUICtrlCreateGroup
###Description###
Creates a Group control for the GUI.
###Syntax###
GUICtrlCreateGroup ( "text", left, top [, width [, height [, style [, exStyle]]]] )
###Parameters###
@@ParamTable@@
text
The text of the control.
left
The left side of the control. If -1 is used then left will be computed according to <a href="AutoItSetOption.htm#GUICoordMode">GUICoordMode.
top
The top of the control. If -1 is used then top will be computed according to <a href="AutoItSetOption.htm#GUICoordMode">GUICoordMode.
width
[optional] The width of the control (default is the previously used width).
height
[optional] The height of the control (default is the previously used height).
style
[optional] Defines the style of the control. See <a href="../appendix/GUIStyles.htm">GUI Control Styles Appendix</a>.
default ( -1) : none.
forced styles : $WS_GROUP, $BS_GROUPBOX.
exStyle
[optional] Defines the extended style of the control. See <a href="../appendix/GUIStyles.htm#Extended">Extended Style Table</a>.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns the identifier (controlID) of the new control.
Failure: Returns 0.
@@End@@
###Remarks###
A group control is the thin line you see around controls (usually only Radio button) that visually groups them together. Only one Radio button within a Group can be selected at once.
If you want to have multiple groups without the visible line then you must use GUIStartGroup() to group your Radio buttons.
To use the values specified above you must #include <ButtonConstants.au3> in your script.
Default resizing is $GUI_DOCKAUTO size and position will occur.
###Related###
GUICoordMode (Option), GUIStartGroup
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
GUICtrlCreateGroup
###Description###
Crée un contrôle de groupe pour l'interface graphique.
###Syntax###
GUICtrlCreateGroup ( "text", left, top [, width [, height [, style [, exStyle]]]] )
###Parameters###
@@ParamTable@@
text
Le texte du contrôle.
left
La position en partant de la gauche de la fenêtre. Si vous utilisez -1, la position sera calculé en fonction de <a href="AutoItSetOption.htm#GUICoordMode">GUICoordMode</a>.
top
La position en partant du sommet de la fenêtre. Si vous utilisez -1, la position sera calculé en fonction de <a href="AutoItSetOption.htm#GUICoordMode">GUICoordMode</a>.
width
[optionnel] La largeur du contrôle (par défaut est la largeur utilisée précédemment).
height
[optionnel] La hauteur du contrôle (par défaut est la hauteur utilisée précédemment).
style
[optionnel] Définit le style du contrôle. Voir l'<a href="../appendix/GUIStyles.htm">annexe de styles de contrôle GUI</a>.
défaut ( -1) : aucun.
styles forcés : $WS_GROUP, $BS_GROUPBOX.
exStyle
[optionnel] Définit le style étendu du contrôle. Voir la <a href="../appendix/GUIStyles.htm#Extended">Table des styles étendus</a>.
@@End@@
###ReturnValue###
@@ReturnTable@@
Succès: Retourne l'identifiant (ID du contrôle) du nouveau contrôle.
Échec: Retourne 0.
@@End@@
###Remarks###
Un groupe de contrôle est la mince ligne que vous voyez autour des commandes (généralement le bouton radio uniquement) qui les regroupe de manière visuelle. Un seul bouton radio dans un groupe peut être sélectionné à la fois.
Si vous voulez avoir plusieurs groupes sans la ligne visible, alors vous devez utiliser GUIStartGroup() pour regrouper vos boutons radio.
Pour utiliser les valeurs indiquées ci-dessus, vous devez inclure <ButtonConstants.au3> dans votre script.
Le redimensionnement par défaut est $GUI_DOCKAUTO, la taille et la position seront modifiés.
###Related###
GUICoordMode (Option), GUIStartGroup
###Example###
@@IncludeExample@@
Traducteur : TT22
Contributeurs (pour les modifications avant le Wiki) :