step Posted March 31, 2006 Share Posted March 31, 2006 Could some one point me to any examples of how to create a gui dynamically from a list of labels and corresponding input boxes that are listed in an ini file. thanks Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 31, 2006 Moderators Share Posted March 31, 2006 (edited) I was about too, then I remembered you did a post somewhere else... and you didn't respond whether it worked for you or not .Edit:Found it... Did this work?: http://www.autoitscript.com/forum/index.php?showtopic=23960 Edited March 31, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
step Posted March 31, 2006 Author Share Posted March 31, 2006 I've responded to the other post!....It takes me a >while< to sort things out. Is this not working because of me? is there a bug? or have i not set this up right? are some of the questions i continually ask myself!....and its usually the first one. I am not very bright at programming.....actually I'm just totally dim!..the light is on but sometimes there is no one in! I'm trying to work on 2 projects at the moment that are connected and will eventually come together hence the 2 posts! Sometime i just need some space and time! regards Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 31, 2006 Moderators Share Posted March 31, 2006 (edited) I've responded to the other post!....It takes me a >while< to sort things out.Is this not working because of me? is there a bug? or have i not set this up right? are some of the questions i continually ask myself!....and its usually the first one.I am not very bright at programming.....actually I'm just totally dim!..the light is on but sometimes there is no one in!I'm trying to work on 2 projects at the moment that are connected and willeventually come together hence the 2 posts! Sometime i just need some space and time!regardsIf this current post is in relation to your other post... I was not aware that your employee list was in an .ini file? I thought I saw .txt in there... but if it is a .txt file, the ONLY thing you should have to do is replace the file location from what I had to where your .txt file is. Anyway... It does all the work for you... I even put a back up to make sure your not deleting a name you didn't mean too.This was on the assumption that your .txt file looked like:John DoeJane DoeJohn DoRayMeJane DoReyMeetc....Edit:Also for Beta... make sure you are using SciTe Editor since your new to the language... and when you do, just use Alt+F5 to run the script. Edited March 31, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
step Posted March 31, 2006 Author Share Posted March 31, 2006 The employee list is a text file. Jimmy Billy Kate etc...... This post is about different contracts..... [ContractCategory1] contract1=someContractA contract2=someContractB [ContractCategory2] contract1=someContractC contract2=someContractD......etc Basically I just want to end up with....say labels and a corresponding input boxs that are dynamically created from the ini thanks Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 31, 2006 Moderators Share Posted March 31, 2006 The employee list is a text file. Jimmy Billy Kate etc...... This post is about different contracts..... [ContractCategory1] contract1=someContractA contract2=someContractB [ContractCategory2] contract1=someContractC contract2=someContractD......etc Basically I just want to end up with....say labels and a corresponding input boxs that are dynamically created from the ini thanksOk... So when you say Dynamically... They should have Contract1 in it or just the value of Contract 1, should they be grouped by Categories... be careful what you say there... look up GUICtrlCreateGroup() before you answer that one. As much detail as possible, it's not all that hard, but a pain if you have to keep going back to edit if you know what I mean. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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