a panel question

Discussion in 'Questions (Windows Mobile)' started by Ricky D, Oct 22, 2008.

  1. Ricky D

    Ricky D Well-Known Member Licensed User

    I have created a panel on a form.

    I'd like to be able to show this panel on other forms in other modules.

    Using Formlib I can change the parent but once I've done that I can no longer access the panel's controls in code.

    Any ideas?

    regards, Ricky
     
  2. klaus

    klaus Expert Licensed User

    I have tried it, it works.
    Look at the small program below, you just need to add the FormLib library.

    Could you post your code so we can look what happens.

    Best regards.
     

    Attached Files:

  3. Ricky D

    Ricky D Well-Known Member Licensed User

    Thanks, I worked it out

    I thought that ChangeParent also moved the control onto the new form but I found all it's controls sitting happily where I created them.

    The panel shows fine on any form and I can do everything I want.

    regards, Ricky
     
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