douwetjerk Posted November 24, 2008 Share Posted November 24, 2008 Hello anybody, I like to perform the creation of a sort of calendarlook in a form with the creation of buttons...... but, I want to give each button its own variable name. Anybody who can hepl me to fill in the $????........? Thank you. For $YVz = 1 To 6 For $XVz = 1 To 7 $???? = GUICtrlCreateButton("", 200 + $XVz * 50, 125 + $YVz * 50, 40, 40, $SS_CENTER) Next Next Link to comment Share on other sites More sharing options...
Pain Posted November 24, 2008 Share Posted November 24, 2008 (edited) Take a look in the helpfile on how to use arrays. Dim $button[7][8] For $YVz = 1 To 6 For $XVz = 1 To 7 $button[$YVz][$XVz] = GUICtrlCreateButton("", 200 + $XVz * 50, 125 + $YVz * 50, 40, 40, $SS_CENTER) Next Next Edited November 24, 2008 by Pain Link to comment Share on other sites More sharing options...
Jikoo Posted November 24, 2008 Share Posted November 24, 2008 Welcome douwetjerk,The best way to start My projects : GCS Search 1.07 (GUI Control Styles Search)* Multilingual tool to help about the old scripts, with a dynamic menu.* Easy way to find missing Include files in old scripts downloaded from forums !* Famous Monoceres script added and improved (visual, drag and drop, automatic)* There is an interactive color converter with palettes too, for fun !The best way to start Autoit3 development (for newbies). Link to comment Share on other sites More sharing options...
Zedna Posted November 24, 2008 Share Posted November 24, 2008 In HelpFile look at "Language Reference"http://www.autoitscript.com/autoit3/docs/i...g_variables.htm Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now