Title: Mercury Email Signature
Shlomi,

There's nothing wrong with the code that you have posted below.
Only reason why I think this would not work is if you have only 2 items in the ComboBox!

If not, try this as well
<mx:ComboBox id="intervalCMB" dataProvider="{intervals}" initialize="intervalCMB.selectedIndex="2" />

Sree

Shlomi Cohen wrote:
 
Hi
 
Does anyone know how to set an initial selected index on a Combo (for edit dialog for example)
 
i have tried this code and it doesn't work .

<mx:ComboBox id="intervalCMB" dataProvider="{intervals}" selectedIndex="2" />

thanks
 
Shlomi

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


Yahoo! Groups Links

Reply via email to