The_Shermanator
2008-11-27 19:33:33
Hello I am making a form for my guild miner, It's coming along great but I need help on a thing. So I'm asking for help :)
Error I get:
When I Delete a player, it deletes it one time but when I try to delete another one, I get an access error?
Anybody know how to delete a whole tab and anything on it?
Also if you have any Tips/Hints/Suggestions or whatever please tell me.
Thanks,
-Shermanator
A G E N T
2008-11-27 22:02:43
Added an array length decrease in the DeletePlayer function, now indexes & lengths of all arrays (PassEdit, PinEdit, etc), are set from TabPages length.
The_Shermanator
2008-11-28 05:33:50
Thanks a lot A G E N T 83. I have done many more things and progressed to near the end of the form. But now I am challenged with how to export and save the edit boxes, so that I can load them later or use them to login. I have tried many times but can't seem to get the arrays right and I always get errors. If you or anybody else could tell me how it would be much appreciated. :)
Here's new form.
-Shermanator
Nava2
2008-11-28 08:25:47
Use an ini file, I will pull my saving and reading of the ini file from my abyssal crafter.
Actually, all your questions are in there one sec.
For the deleting, look at the Delete Response.
The_Shermanator
2008-11-28 16:27:24
Well I already know how to use an INI file, its just that since I am using tabs and you can add more than one player, I know that you have to put the texts from the tabs in an array. But I don't know how to do that. Thanks for showing me the deletion process, It showed me a few things.
-Shermanator
A G E N T
2008-11-28 17:31:07
See attached - there must be some sort of function that tells you when the form is loaded - until then, I have left a 'load' button on the form. (Sorry about messing it up, but I was putting them in just by coords lol).
Attached INI file goes in SCAR folder.
The_Shermanator
2008-11-28 19:21:37
Thanks AGENT 83 a rep++ for you :)
Could you add me on MSN so we can talk?
-Shermanator