Aide:GUICtrlCreateUpdown.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
GUICtrlCreateUpdown
###Description###
Creates an UpDown control for the GUI.
###Syntax###
GUICtrlCreateUpdown ( inputcontrolID [,style] )
###Parameters###
@@ParamTable@@
inputcontrolID
The controlID of the input control in which the updown control will be created.
style
[optional] Defines the style of the control. See <a href="../appendix/GUIStyles.htm#UpDown">GUI Control Styles Appendix</a>.
default (-1) : $UDS_ALIGNRIGHT.
forced style : $UDS_SETBUDDYINT and $UDS_ALIGNRIGHT if no align defined.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns the identifier (controlID) of the new control.
Failure: Returns 0.
@@End@@
###Remarks###
To use the values specified above you must #include <UpDownConstants.au3> in your script.
Max and min value can be set with <a href="GUICtrlSetLimit.htm">GUICtrlSetLimit</a>.
By default Windows increases the value when clicking the upper arrow button.
Default height resizing is done according to the one of the related input control.
###Related###
GUICtrlCreateInput, GUICtrlSetData, GUICtrlSetLimit
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
Texte en Français
Traducteur :
Contributeurs (pour les modifications avant le Wiki) :