×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    Dynamically add/remove controls

    Is is possible to dynamically add/remove a control within a compound control? I'm developing a small application where the main control contains one control which acts as a menu. Depending on the choice in the menu, different controls should be displayed in the other part of the compound control. Is this possible to do?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    RE: Dynamically add/remove controls

    Sure it is

    just have a pointer to your control as an member variable in your class and you can construct and delete as you wish. Just be carefull when implementing your CountComponentControls & ComponentControl functions.

    yucca

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×