×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Feb 2009
    Location
    mumbai,india
    Posts
    94

    List to list switching

    Hi,
    i m getting error while switching from list to list.
    i use
    AppUi()->ActivateLocalViewL(TUid::Uid(EAssMainMenuViewId));

    I switch from say list1 to list2,but when i use same code with UID of list1 to switch back it panics at

    void CassLoanMenuView:oDeactivate()
    {
    // [[[ begin generated region: do not modify [Generated Contents]
    CleanupStatusPane();

    if ( iAssLoanMenu != NULL )
    {
    AppUi()->RemoveFromViewStack( *this, iAssLoanMenu );
    delete iAssLoanMenu;
    iAssLoanMenu = NULL;
    }
    // ]]] end generated region [Generated Contents]

    }


    it gives
    ALLOC 32e40080
    0


    Please help me

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: List to list switching

    I Suggest you step debug and most probably it is crashing in your CAssLoanMenu's destructor. so put breakpoint and find out where it is crashing.

  3. #3
    Regular Contributor
    Join Date
    Feb 2009
    Location
    mumbai,india
    Posts
    94

    Re: List to list switching

    Quote Originally Posted by skumar_rao View Post
    I Suggest you step debug and most probably it is crashing in your CAssLoanMenu's destructor. so put breakpoint and find out where it is crashing.
    delete iAssLoanMenu;
    the red hilighted line...

  4. #4
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: List to list switching

    Quote Originally Posted by lopesrohan1988 View Post
    delete iAssLoanMenu;
    the red hilighted line...
    Have you read Post #2 carefully??? SKumar_rao said, put break point in destrucor of CAssLoanMenu class. Have tried to run application after putting breakpoint in CAssLoanMenu's destructor???

  5. #5
    Regular Contributor
    Join Date
    Feb 2009
    Location
    mumbai,india
    Posts
    94

    Re: List to list switching

    Quote Originally Posted by savaj View Post
    Have you read Post #2 carefully??? SKumar_rao said, put break point in destrucor of CAssLoanMenu class. Have tried to run application after putting breakpoint in CAssLoanMenu's destructor???
    In assLoanMenu it run all the statement and than got panic
    CAssLoanMenu::~CAssLoanMenu()
    {
    // [[[ begin generated region: do not modify [Generated Contents]
    delete iLoanlistBox;
    iLoanlistBox = NULL;
    delete iLoanlistBoxSearchField;
    iLoanlistBoxSearchField = NULL;
    // ]]] end generated region [Generated Contents]

    }

  6. #6
    Regular Contributor
    Join Date
    Feb 2009
    Location
    mumbai,india
    Posts
    94

    Re: List to list switching

    Quote Originally Posted by lopesrohan1988 View Post
    In assLoanMenu it run all the statement and than got panic
    CAssLoanMenu::~CAssLoanMenu()
    {
    // [[[ begin generated region: do not modify [Generated Contents]
    delete iLoanlistBox;
    iLoanlistBox = NULL;
    delete iLoanlistBoxSearchField;
    iLoanlistBoxSearchField = NULL;
    // ]]] end generated region [Generated Contents]

    }
    When i switch from mainmenu to loanmenu it first go to void CassLoanMenuView:oActivateL
    after that it goes to
    void CassMainMenuView:oDeactivate()
    When i press back from loan its directly goes to
    void CassLoanMenuView:oDeactivate()
    and than panic

Similar Threads

  1. Problem with Skin enabling - disabling and Setting List in S60
    By sauvikds in forum Series 40 & S60 Platform Feedback Archive
    Replies: 6
    Last Post: 2008-08-23, 14:29
  2. Problem with Skin enabling - disabling and Setting List in S60
    By sauvikds in forum General Development Questions
    Replies: 1
    Last Post: 2008-08-21, 12:44
  3. Switching list view to Grid view for list box UIQ
    By brajabasi in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-04-14, 07:30
  4. Switching control between two list boxes
    By Priya_m in forum Symbian
    Replies: 25
    Last Post: 2007-04-19, 12:31
  5. 6680 and bluetooth service profiles
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-08, 22:24

Posting Permissions

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