×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    67

    Red face How To Empty List Box

    Hi all,

    I have created a list box in which am displaying the missed calls, i want to delete all the contents of list box i.e missed call details, and display a empty list box with no missed call details... can any body tell me how to do so..

    Thanks in advance..
    Regards,
    Amjed

    " The Greatest Pleasure of LIFE is doing , What people say you Can't DO...!! "

  2. #2
    Regular Contributor
    Join Date
    Jul 2007
    Posts
    90

    Re: How To Empty List Box

    Maybe this can answer to some of your questions

    http://www.forum.nokia.com/document/...ists_API4.html

    Ikhtys

  3. #3
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    67

    Red face Re: How To Empty List Box

    thanks for ur reply, there i got the example for Removing an item from listbox, can u tell me how to empty the whole list box..
    Regards,
    Amjed

    " The Greatest Pleasure of LIFE is doing , What people say you Can't DO...!! "

  4. #4
    Regular Contributor
    Join Date
    Jul 2007
    Posts
    90

    Re: How To Empty List Box

    Well you can for example read how many items there are in your listbox and then delete the items in a for loop. You can find a sample how to get the number of items on that link also.

    Ikhtys

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,690

    Re: How To Empty List Box

    You can also try understanding the code. For example if you see
    static_cast<CDesCArray*>( textArray )->Delete( 1 );
    You can check what other methods a CDesCArray has.
    Delete(TInt aIndex, TInt aCount) maybe? Or Reset()?

Similar Threads

  1. how to updated the list box on dialog box before it is displaying it.
    By manjunaths in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-03-20, 10:37
  2. Enable Skin with Custom List Box
    By hmleung in forum Symbian User Interface
    Replies: 5
    Last Post: 2007-11-12, 09:55
  3. List Box empty text
    By srkreddy999 in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-10-25, 11:09
  4. 6680 and bluetooth service profiles
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-08, 22:24
  5. Replies: 1
    Last Post: 2004-03-01, 08:37

Posting Permissions

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