Preset vs. dynamic control creation

Discussion in 'Questions (Windows Mobile)' started by N1c0_ds, Mar 14, 2009.

  1. N1c0_ds

    N1c0_ds Active Member Licensed User

    I was wondering what is the best/fastest at execution: dynamic control creation (AddForm, AddButton...) or controls created with the IDE?

    I'm trying to get the "loading" form displayed as fast as possible and this is needed to make sure it's displayed fast enough.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    All static controls (design time) are created during start-up.
    With dynamic controls you can choose to create the controls only when their form is displayed at the first time, thus improving the loading time.

    Creation of static controls is a little faster than dynamic controls.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice