Controls paint slowly

G

Guest

Sorry for re-posting in this newsgroup - but this group is more apropriate
than dotnet.general

I am developing a mdi application that will act as a front end to a database.

I am finding that when i show any of the mdi child forms in my application
it is noticeable that the form is shown first with the areas where the
controls will be displayed cut out and what ever is top most before the form
is shown is momentarity seen through these areas.

This is also noticed if the user changes focus to say internet explorer and
then back to the running application.

I find that this is more noticeable for textboxes, labels and toolstrips but
not listboxes or tab controls.

I have tried various methods suggested for double buffering, however these
appear to show no signs of improvement.

None of my mdi child forms are currently doing anything special on loading -
the form as seen in the form designer is just being shown (no data access on
load)

I would appreciate any suggestions.
 
G

Grandpa0594

Jrsmith said:
Sorry for re-posting in this newsgroup - but this group is more apropriate
than dotnet.general

I am developing a mdi application that will act as a front end to a database.

I am finding that when i show any of the mdi child forms in my application
it is noticeable that the form is shown first with the areas where the
controls will be displayed cut out and what ever is top most before the form
is shown is momentarity seen through these areas.

This is also noticed if the user changes focus to say internet explorer and
then back to the running application.

I find that this is more noticeable for textboxes, labels and toolstrips but
not listboxes or tab controls.

I have tried various methods suggested for double buffering, however these
appear to show no signs of improvement.

None of my mdi child forms are currently doing anything special on loading -
the form as seen in the form designer is just being shown (no data access on
load)

I would appreciate any suggestions.


Hi,

Shortly after you posted your question I posted a similar one. I'm running
into the same situation with controls coming up slowly. Having posted the
question on three forums so far with no response I decided to do some playing
around. Try this. Put Me.Refresh in the form.activate section of your
mdiChild. When you do a .Show of your form it passes through the form.load
section of you code. However, form.activate follows the form.load. Good Luck..
..
 

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

Top