Hi,
im not sure if this is even possible but ill explain what happens. I have a "preload" form, or even splashscreen if you will. In this screen it checks different things like the existance of the database and also prepares each form and paints them all byt simply calling
etc etc. which all works great and once all loaded and painting is finished the form then disappears and we have a fast and responsive all preloaded forms.
The issue im having is to show the user its still doing something I put a animated gif (like a loading pic that keeps rotating) on the form but as the painting of the other forms happens this image stops moving then starts then stops etc.
I assume this is happening because the painting of all the forms is locking the UI thread which for the purpose of the screen is fine, however I would still love the image to move. Now to the question, is there a way this image can be put onto another thread? or is the UI thread the only one that can play with well the UI?
cheers
im not sure if this is even possible but ill explain what happens. I have a "preload" form, or even splashscreen if you will. In this screen it checks different things like the existance of the database and also prepares each form and paints them all byt simply calling
Code:
form2.show
me.topmost = true
form3.show
me.topmost = true
form4.show
me.topmost = trueThe issue im having is to show the user its still doing something I put a animated gif (like a loading pic that keeps rotating) on the form but as the painting of the other forms happens this image stops moving then starts then stops etc.
I assume this is happening because the painting of all the forms is locking the UI thread which for the purpose of the screen is fine, however I would still love the image to move. Now to the question, is there a way this image can be put onto another thread? or is the UI thread the only one that can play with well the UI?
cheers