Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User fredrik_o's Avatar
    Join Date
    Mar 2003
    Posts
    1
    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 Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved