Hi,
use the selection() method to get the ID of the selected item of your
combobox. With this ID you may get the selected text using the getText()
method.
Example:
int text;
text = combobox.selection();
print combobox.getText(text);
cheers!
"jxiang" wrote:
> I add items to a combo Box using code:
>
> combobox.add(_ItemText);
>
> _ItemText is a string. The code works fine and the drop down list of the
> combo box is as what I expected. However I can only get a 0 based integer
> number from the selection of the combo box. I want to get the selected text
> in the drop down list. How to do it? Thanks.
>
>
>
>
>