Re: Controls paint slowly
- From: "Grandpa0594" <u17389@uwe>
- Date: Sun, 08 Jan 2006 05:38:05 GMT
Jrsmith wrote:
>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..
..
.
- Prev by Date: TaskVision Smart Client demo app in 2.0
- Next by Date: Embedded win forms: focus/tab control problem
- Previous by thread: TaskVision Smart Client demo app in 2.0
- Next by thread: Embedded win forms: focus/tab control problem
- Index(es):
Relevant Pages
|