jgus Posted March 4, 2006 Share Posted March 4, 2006 I am creating a little application that will have multiple tabs, each of which will have multiple buttons on them plus there will be a few buttons that will be visiable no matter which tab you are on like HELP and CLOSE. I have never been taught any coding best practices so as this little project gets larger I am really starting to see the need for good coding structure. Here are my questions. 1. Anyone know of a good free reference for basic coding structure best practices? 2. With the GUI I mentioned above having multiple tabs and buttons, would it be best to still just have one of the following loop command areas that will be waiting for any of the button presses in the whole application? Or would it make more sense to create seperate loops like this for each tab? While 1 $msg = GUIGetMsg() 3. When is it best to create functions to seperate out ares of code? Thanks in advance for anyone's help. Link to comment Share on other sites More sharing options...
Valuater Posted March 4, 2006 Share Posted March 4, 2006 (edited) good questionsmy first prgram was with tabs and mutiple buttons and close buttons ... just like you have describedI used 1 loop with over 2000 lines of codeFor a great reference that includes good coding "FORMAT"http://www.autoitscript.com/forum/index.php?showtopic=21048#my first scipt with multiple tabs and buttonshttp://www.autoitscript.com/forum/index.ph...&st=0&p=787608) Edited March 4, 2006 by Valuater 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