Copy link to clipboard
Copied
I would like to disable a combobox once the user is selected a item.
on CHANGE event I used enable = false.
it is disabling, graying out, but the text also disappears.
I would like to display the text user selected last, but he can select only once.
Please guide me.
I do not see the selected item disappearing when the box is disabled, though it does turn gray as well. If that is what you see then maybe you could just remove it or make it invisible and relace it with a textfield.
Copy link to clipboard
Copied
I do not see the selected item disappearing when the box is disabled, though it does turn gray as well. If that is what you see then maybe you could just remove it or make it invisible and relace it with a textfield.
Copy link to clipboard
Copied
Is it possible to change color of a selected item in a combobox.
Copy link to clipboard
Copied
The disable label disappears only if I use the embed font.
Copy link to clipboard
Copied
You can change the selection in the combobox using the setStyle method...
cBox.textField.setStyle("textFormat",newFormat);
where cBox is the instance name and newFormat would be a TextFormat that you define.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now