[flexcoders] combobox change listener

2005-07-15 Thread Robert Brueckmann
I have a combobox that has a change listener that triggers a function to
refresh the contents of a tree component.  If the user uses the mouse to
select the item from the combobox, the tree refreshes with the new
content beautifully.  If the user selects the combobox with the mouse
but then hit a letter on the keyboard to jump to the item in the list
starting with that letter, it jumps to that item, the combobox closes
but the tree associated with the change function is not triggered.  Do I
need to add a keyDown listener?  Should the change listener handle key
clicks that change the item selection in the list too?  Could I be doing
something wrong here?

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4821
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
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/
 




RE: [flexcoders] combobox change listener

2005-07-15 Thread Matt Chotin










If Tracys
suggestion doesnt work let us know. Does sound like a bug, one that weve
probably already addressed in the Flex 2 codebase.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Friday, July 15, 2005 9:32
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] combobox
change listener





Try:
valueCommitted: Broadcast when values are changed
programmatically. The
event object's target property contains a
reference to the component
that triggered the event. The event object's type
property contains the
name of the event, valueCommitted. 

Perhaps the keystroke is updating the selection
programmatically.
This sounds like a bug to me.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Robert Brueckmann
Sent: Friday, July 15, 2005 12:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] combobox change listener

I have a combobox that has a change listener that
triggers a function to
refresh the contents of a tree component. If
the user uses the mouse to
select the item from the combobox, the tree
refreshes with the new
content beautifully. If the user selects the
combobox with the mouse
but then hit a letter on the keyboard to jump to
the item in the list
starting with that letter, it jumps to that item,
the combobox closes
but the tree associated with the change function
is not triggered. Do I
need to add a keyDown listener? Should the
change listener handle key
clicks that change the item selection in the list
too? Could I be doing
something wrong here?

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595
  Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4821



This message contains information from Merlin
Securities, LLC, or from
one of its affiliates, that may be confidential
and privileged. If you
are not an intended recipient, please refrain from
any disclosure,
copying, distribution or use of this information
and note that such
actions are prohibited. If you have received this
transmission in error,
please notify the sender immediately by telephone
or by replying to this
transmission.

Merlin Securities, LLC is a registered
broker-dealer. Services offered
through Merlin Securities, LLC are not insured by
the FDIC or any other
Federal Government Agency, are not deposits of or
guaranteed by Merlin
Securities, LLC and may lose value. Nothing in
this communication shall
constitute a solicitation or recommendation to buy
or sell a particular
security.


--
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









--
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



  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.