Jump to content

Problem with ComboBox with the assignment of the select item.


spyros1234

Recommended Posts

Hello

 

 

 

I am creating a static ComboBox.

The problem is that I can’t assign to the ComboBox a selectedItem

 

 

Please help

Thank you

 


combomm.themeColor = 0xCCCCCC;
combomm.rollOverColor =0xCCCCCC;
combomm.borderColor = 0xCCCCCC;
combomm.selectionColor = 0xCCCCCC;


combomm.addItem("hello","script");
combomm.addItem("32432","script");
combomm.addItem("sdfsdf","script");
combomm.addItem("234sdfsdf2","script");


combomm.selectedItem = combomm.length-1;

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.