×

Discussion Board

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

    Modifying Carbide UI designer code for view deactivation

    Hi, I'm working on an app that basically consists of 3 listbox controls, each in a separate view. I created the basic structure using the UI designer, but it seems that in the generated code, whenever you switch from one tab to another it deletes the internal listbox object for the original view and recreates it next time the view is activated. This is quite annoying because at least one of the 3 listboxes in my app can potentially contain a large number of items. Normally I would only have to populate it once since the contents don't need to be changed while the app is running, but with the UI designer code it needs repopulated every time it's activated.

    Is there a way to disable this behaviour through the UI designer? I'm sure I could do it myself by modifying the generated code, but since the relevant functions are inside auto generated regions I don't want to have my changes overwritten if I need to use the UI designer again...

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Modifying Carbide UI designer code for view deactivation

    The UI designer's code follows the principle that resources that are no longer in use should be destroyed in order to reduce the memory consumption. I doubt that there is a way to disable this.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Replies: 2
    Last Post: 2007-10-05, 20:40
  2. Link errors when trying to Display bitmap
    By Bkc82 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-01-16, 22:46
  3. Fixing a bug in an already obfuscated midlet (no source code) ?
    By SPGremlin in forum Mobile Java General
    Replies: 1
    Last Post: 2004-01-12, 21:52
  4. Replies: 2
    Last Post: 2003-11-09, 14:00
  5. Testing HTTP client for Nokia 3650; Looking to share code
    By nawkboy in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-09-10, 15:30

Posting Permissions

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