|
|
User login
Feeds |
'ItemTextArray' : is not a member of 'MListBoxModel'
|
|||||
| Fri, 2004-07-09 06:17 | |
|
i trying to read binary setting value from a listbox with the code below, but i got an error 'ItemTextArray' : is not a member of 'MListBoxModel'
myListBox= STATIC_CAST(CEikListBox*, iDetailsList->ListBox()); TInt currentItem = myListBox->CurrentItemIndex(); MDesCArray* itemList = myListBox->Model()->ItemTextArray(); CDesCArray* itemArray = (CDesCArray*) itemList; |
|
Forum posts: 100
Maybe you could try casting your listbox to CEikTextListBox instead of CEikListBox since the ItemTextArray() is a member of CEikTextListBoxModel not MListBoxModel.
Regards, Aljaz