Hey all,

I'm trying to get a ComboBox to start out "unchosen" (e.g. shows <choose one>), but not allow the user to select that initial value.

It basically works if I set :
        my_cb.dataProvider = { data:1, label:"A", data:2, label:"B", ... };
        my_cb.text = "<choose one>";
        my_cb.selectedIndex = null;

The only snag I'm running into with this solution is that keyboard navigation is off by one letter (e.g. pressing the B key will select "A"), and only on the first time the component is used.

Is there a better solution for this?

Thanks in advance,
--Dave


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to