ListBox Empty String

Login to reply to this topic.
Wed, 2005-01-05 09:02
Joined: 2005-01-05
Forum posts: 5
Hi,

I am writing an application that uses a listbox on one of its views, which is working fine. However by default, when the listbox is empty it says "no data" on it.

I was wondering if anyone knew how I could change that "no data" string to something else, like in the Messaging app on my Nokia 6600, it says "no messages" when there is no data in the listbox.

Thanks in advance.

Steve

Wed, 2005-01-05 09:29
Joined: 2005-01-04
Forum posts: 226
ListBox Empty String
Hi Steve,

As far as i know,we can't change the string "no data" when there is none to display.

Cheers,
Sunil
Wed, 2005-01-05 10:47
Joined: 2004-10-29
Forum posts: 15
ListBox Empty String
iListBox->View()->SetListEmptyTextL(KEmptyText);
Wed, 2005-01-05 11:06
Anonymous (not verified)
Forum posts: 2018
ListBox Empty String
Thanks caabeiro,

It's working

Cheers,
Wed, 2005-01-05 12:05
Joined: 2005-01-05
Forum posts: 5
ListBox Empty String
thanks a stack caabeiro, that is fantastic  Cheezy

I don't know why I didn't see that, cos I looked at the SDK for ages. Oh, well.
Thu, 2005-05-19 09:42
Joined: 2005-01-23
Forum posts: 7
Re: ListBox Empty String
Hi,
MY listbox object is of CEikColumnListBox type

and using this below line to display an empty list text

iListBox->View()->SetListEmptyTextL(_L("No List Item"));

But it's not working ....the same code work if i create an object of any listbox classes :CAknDoubleGraphicStyleListBox and CAknDoubleLargeStyleListBox .......,....,.....,.....

thanxs in advance

Anish
  • Login to reply to this topic.