Aide:GUICtrlSetStyle.txt

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

Document original V3.3.6.1 :

###Function###
GUICtrlSetStyle

###Description###
Changes the style of a control.

###Syntax###
GUICtrlSetStyle ( controlID, style [, exStyle] )


###Parameters###
@@ParamTable@@
controlID
	The control identifier (controlID) as returned by a <a href="GUICtrlCreate Management.htm">GUICtrlCreate...</a> function.
style
	Defines the style of the control. See <a href="../appendix/GUIStyles.htm">GUI Control Styles Appendix</a>.
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 1.
Failure:	Returns 0.
@@End@@


###Remarks###
Some styles cannot be changed dynamically, check MSDN documentation. $CBS_UPPERCASE combo style is one example.

###Related###
GUICtrlCreate...


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


Document traduit V3.3.6.1 :

Texte en Français


Traducteur :

Contributeurs (pour les modifications avant le Wiki) :