I want to get the caption of the selected item, but how can I do it? I only
found a way to get them itemindex...
Can somebody help me?
C'ya
I want to get the caption of the selected item, but how can I do it? I only
found a way to get them itemindex...
Can somebody help me?
C'ya
You must query the listbox model.
[code:1]MDesCArray* array = iListBox->Model()->MatchableTextArray();
TInt currentitem = iListBox->CurrentItemIndex();
TPtrC16 itemtext = array->MdcaPoint(currentitem);
[/code:1]