FormEXDesktop and AddPanel

Discussion in 'Questions (Windows Mobile)' started by Cableguy, Sep 27, 2008.

  1. Cableguy

    Cableguy Expert Licensed User

    HI, Andrew...

    How can I add a runtime created panel (AddPanel....) to a FormEXDesktop form created with NEW1 method (inherited form)???

    I'm Creating it after the FormEXDesktop New1 method, sould I create it before, or must I have all the inheritable controls created in the designer?

    EDIT:
    Using the AddPanel BEFORE the FormEXDesktop NEW1 method works...
    just need to remember that...
     
    Last edited: Sep 27, 2008
  2. agraham

    agraham Expert Licensed User

    You can do it aftwerwards as well. See lines 90 and 91 of FormExDemo

    Code:
    AddButton("Form2""Added",120,10,100,25,"Added")
       FormEx2.AddControl(
    "Added")
     
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