Sign in to follow this  
Followers 0
AustrianOak

Pictures being created are created one after another

6 posts in this topic

I start off with like 20 buttons in a row on my gui and it looks very strange because when they are being created you see the first one being created, then the second, the third, and so on and it looks very strange as to compared if they were all create at once.

Is there a command I could use to tell me gui to wait to display the buttons until all of them are finished creating?

Share this post


Link to post
Share on other sites



GUISetState must be called AFTER everything in the GUI is created.


[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Share this post


Link to post
Share on other sites

It already is... :P

Share this post


Link to post
Share on other sites

Maybe my problem is because immediately after each picture is created I do

GUICtrlSetState(-1, $GUI_SHOW)

Could that be it?

Share this post


Link to post
Share on other sites

Can you post some code so we can try to see what's wrong?

Obs: Use the [ autoit][ /autoit] tags (without the spaces).


[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Share this post


Link to post
Share on other sites

Problem is now solved. It correlated with this post: here

The problem was I was telling the script to immediately show after each of the individual icons were created so I fixed it all using a for loop.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0