Stacey, I mean empty that label dissapears. I haven't checked if selectedIndex returns -1.
Ok, thanks for the answer Deepa! On 2/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Do you mean empty as in the label disappears? > Or empty as in the selectedIndex returns -1? > > > > > > > > > > > > > > This is a feature. The List-based components, of which ComboBox is one, > > allow de-selection by Ctrl+click on a selected item. > > > > There are a few ways to workaround this (subclass the component, > > perhaps). One that comes to mind is to capture keyboard event and > > cross-track that with the selectedItem to decipher when Ctrl+click on > > the currently selectedItem has occurred. > > > > -----Original Message----- > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Stanislav Zayarsky > > Sent: Thursday, February 16, 2006 7:57 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders]Combobox feature? > > > > Hello All, > > > > Try next: > > > > 1. Create combobox with some data inside > > 2. Run app > > 3. Choose any item inside in combobox > > 4. Open combobox again and CTRL+click on the same item. > > > > Result: Empty selected value in combobox. > > > > Question: Is this feature or the bug? > > If feature, how I can remove it? > > > > Best regards > > Stanislav > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > > > > > > > > > > > > > > > > > > SPONSORED LINKS > > > > > > > > > > Web site design development > > > > > > Computer software development > > > > > > Software design and development > > > > > > > > > > Macromedia flex > > > > > > Software development best practice > > > > > > > > > > > > > > > > > > > > > > > > > > > > YAHOO! GROUPS LINKS > > > > > > > > Visit your group "flexcoders" on the web. > > To unsubscribe from this group, send an email > > to: [EMAIL PROTECTED] Your use > > of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > > > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/