Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
I don't see why you need a script. You can associate Actions with each item in the dropdown. When you change the selected item, those actions will be executed. So just put an Action for each item to change the widget to the correct one.

If you do want to use a script you can get the SelectedItem and its Text property. But I don't think there is a way to react to the dropdown selected item changing. Except by putting the Action to execute your script under every item but that kind of defeats the point.