Slow MDI forms

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shawn

    #1

    Slow MDI forms

    I am working on an app where the main page uses tabs and then within each
    tab there are radio buttons on the top to open MDI children forms. The issue
    is that these MDI Child forms open kind of slowly. They seem to be spending
    a lot of time drawing the controls and they sort of "fade up" when opening.
    Anybody have any ideas as to how to improve the performance?


  • ECathell

    #2
    Re: Slow MDI forms

    I made all my MDI children separate programs that run in separate threads.
    You may also want to try preloading the forms and just hiding them.



    --
    --Eric Cathell, MCSA
    "Shawn" <shawn.camner@c cci.org> wrote in message
    news:exHdYZ%232 FHA.3900@TK2MSF TNGP12.phx.gbl. ..[color=blue]
    >I am working on an app where the main page uses tabs and then within each
    >tab there are radio buttons on the top to open MDI children forms. The
    >issue is that these MDI Child forms open kind of slowly. They seem to be
    >spending a lot of time drawing the controls and they sort of "fade up" when
    >opening. Anybody have any ideas as to how to improve the performance?
    >[/color]


    Comment

    • Shawn

      #3
      Re: Slow MDI forms

      Hmm, an interesting idea. And that helped the performance a good bit? You
      also had the same problem I guess.
      How do you open a form in a new thread? I have done this with Modules, but
      don't see a way to do it with a form.

      "ECathell" <ecathell@nospa m.com> wrote in message
      news:Od%23zdg%2 32FHA.3880@TK2M SFTNGP12.phx.gb l...[color=blue]
      >I made all my MDI children separate programs that run in separate threads.
      >You may also want to try preloading the forms and just hiding them.
      >
      >
      >
      > --
      > --Eric Cathell, MCSA
      > "Shawn" <shawn.camner@c cci.org> wrote in message
      > news:exHdYZ%232 FHA.3900@TK2MSF TNGP12.phx.gbl. ..[color=green]
      >>I am working on an app where the main page uses tabs and then within each
      >>tab there are radio buttons on the top to open MDI children forms. The
      >>issue is that these MDI Child forms open kind of slowly. They seem to be
      >>spending a lot of time drawing the controls and they sort of "fade up"
      >>when opening. Anybody have any ideas as to how to improve the performance?
      >>[/color]
      >
      >[/color]


      Comment

      • ECathell

        #4
        Re: Slow MDI forms

        I don't really open the form in a new thread, but any processes inside of
        the form are done in a separate thread(database access...etc)


        --
        --Eric Cathell, MCSA
        "Shawn" <shawn.camner@c cci.org> wrote in message
        news:O3oIk2%232 FHA.268@TK2MSFT NGP10.phx.gbl.. .[color=blue]
        > Hmm, an interesting idea. And that helped the performance a good bit? You
        > also had the same problem I guess.
        > How do you open a form in a new thread? I have done this with Modules, but
        > don't see a way to do it with a form.
        >
        > "ECathell" <ecathell@nospa m.com> wrote in message
        > news:Od%23zdg%2 32FHA.3880@TK2M SFTNGP12.phx.gb l...[color=green]
        >>I made all my MDI children separate programs that run in separate threads.
        >>You may also want to try preloading the forms and just hiding them.
        >>
        >>
        >>
        >> --
        >> --Eric Cathell, MCSA
        >> "Shawn" <shawn.camner@c cci.org> wrote in message
        >> news:exHdYZ%232 FHA.3900@TK2MSF TNGP12.phx.gbl. ..[color=darkred]
        >>>I am working on an app where the main page uses tabs and then within each
        >>>tab there are radio buttons on the top to open MDI children forms. The
        >>>issue is that these MDI Child forms open kind of slowly. They seem to be
        >>>spending a lot of time drawing the controls and they sort of "fade up"
        >>>when opening. Anybody have any ideas as to how to improve the
        >>>performanc e?
        >>>[/color]
        >>
        >>[/color]
        >
        >[/color]


        Comment

        Working...