Yes that happens to me. I totally wrote
that off to be a bug.
Personally, I don’t consider that
much of a feature –
Since when do selections and de-selections
change the visualization of the label to make it invisible? Shouldn’t
that be best left to the work of
a renderer? Unless someone can explain the
immediate benefits to me and make me see the light, I still consider it more of
a bug than a feature.
De-selection should be visualized, but
surely not by making it impossible to read or identify what the item is.
My two cents.
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: [email protected]
[mailto:[email protected]]
On
> > Behalf Of Stanislav Zayarsky
> > Sent: Thursday, February 16, 2006 7:57
AM
> > To: [email protected]
> > 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
SPONSORED LINKS
YAHOO! GROUPS LINKS