Avatar of Kinger247
 asked on

Stop form flickering whilst loading controls.

I have a form which loads around 50 separate controls.
Its basically a office floor plan with desks as controls, you can find information about the desk by right clicking etc ….
The office floor loads from information in a database.

As the application loads the controls, you can see jittery flickering which last about 12 seconds.
But if I minimise then maximise the app, the floor has all controls loaded withing 2 seconds and no flicker.

How can I load the controls just as fast without doing the minimise / maximise.
I've tried several things like hiding the floor until the controls have loaded, then make visible but then the process flickering is just suspended until its been made visible.

Is there something I can do ?
Visual Basic.NET

Avatar of undefined
Last Comment

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question


Tried that and it didn't work.

Is there another way in .net to freeze a form whilst loading ?  like you can in vb6 ?

I've changed the way I'm doing this now so the problem has gone away.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.