Re: Controls paint slowly

Tech-Archive recommends: Speed Up your PC by fixing your registry



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..
..
.



Relevant Pages

  • Re: MDI Application
    ... >I would like a panel of controls to be the background of the MDI form. ... MDI children. ... Any controls covered by an MDI child would then not be ...
    (borland.public.delphi.language.objectpascal)
  • Re: Question about MDI application
    ... each tabpage COULD BE its own form. ... My MDI ... child forms could pop up at about any time the user desires. ... they should have menus and toolbar controls. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Resizing MDI Child forms
    ... > MDI Parent form (used to house command buttons to change the MDI ... If you don't have multiple child forms ... > Each form - and associated controls - will need to resize differently. ...
    (microsoft.public.vb.general.discussion)
  • Re: MDI problem
    ... When I do that, during execution, when I open a MDI Child Form, this Child ... I've not done much with MDI Forms, so I had a look into this. ... MDI Child Forms - it sort of makes sense as those controls should not ... be in the 'MDI Client area' ...
    (alt.comp.lang.borland-delphi)
  • Re: Containers/Components
    ... I had created an MDI application. ... Shell MegaPack: GUI Controls For Drop-In Windows Explorer like Shell ... Browsing Functionality For Your App (.Net & ActiveX Editions). ...
    (microsoft.public.dotnet.framework.windowsforms)