Link to home
Start Free TrialLog in
Avatar of Kinger247
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 ?
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kinger247
Kinger247

ASKER


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.