Jump to content
Sign in to follow this  
AustrianOak

Pictures being created are created one after another

Recommended Posts

AustrianOak

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
CoePSX

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
AustrianOak

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
CoePSX

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
AustrianOak

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.