Argonath RPG - A World of its own
Argonath RPG Community => Hardware/Software support => Resolved issues => Topic started by: speedboy on November 21, 2010, 02:05:31 pm
-
Ok heres my problem. Im beginner in coding etc and i already got this:
Login appears. You login with username and password. Then Login disapears and a window with a progressbar, a checkbox and a button appears. I check the checkbox and click the button. The progressbar is gettung full. Now, I want to do this: Progressbar is full and the window closes. and automaticlly a new window pops up. how to do it ?
-
Hi Speedboy,
I am not sure where your problem lies, but I will try my best to help.
The way I would do the procedure is as follows:
(.... Up to the Progress Bar Finish)
I imagine your progress bar is either a timer or is just an auto bar? you may wish to remove the progress bar, it uses a lot of resources, athough it does look good for GUI.
after this you would need to create a form (a new form) If you have not done already, the window will not appear on its own. After you have created the new form, you can link it via code.
The code would be something like (at the end of the progress bar after it fills it or after the timeout) start.newform (or whatever the new window form name is called), this would automatically set it to the new form after login
Then use me.hide or me.close (or both if you prefer).
Hope this helps!
Happy Coding
Regards,
DellStorm