Fliker screen

  • Thread starter Thread starter Marc Robitaille
  • Start date Start date
M

Marc Robitaille

Hello,
In the application that I develop, there are several screens which contain
several controls. When the screen opens, controls do not draw at the same
time. There are several grids which are fillds from DataSet. There is also
ComboBox which are also filled from DataSet. I tried one or two solutions
but without success like SuspendLayout / ResumeLayout
I would like to know which is best the solution with that kind of problem?
Thank you
Marc R.
 
When the screen opens, controls do not draw at the same
time. There are several grids which are fillds from DataSet. There is
also ComboBox which are also filled from DataSet. I tried one or two
solutions but without success like SuspendLayout / ResumeLayout
I would like to know which is best the solution with that kind of
problem

Have you tried using multiple threads or callback (delegate) functions?

One of your datasets maybe taking a long time to return the data... as a
result, your main thread is locked up. The main thread is used by the GUI,
and hence you see a flicker.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top