OK, figured this one out...

All controls that "can receive focus" implement
IFocusManagerComponent. One property of this is 'focusEnabled'

When designing components, the 'children' components should probably
be set to 'focusEnabled=false' if they're going to be used in a PopUp
of an itemEditor.

Setting 'focusEnabled=false' on all of the "pieces" of my popup solved
my problem.

hope this helps someone else down the road.

cheers,
Thunder


--- In [email protected], "thunderstumpgesatwork"
<[EMAIL PROTECTED]> wrote:
>
> 
> Hi guys,
> 
> I am running into problems with focus changes when trying to use a
> PopUpButton to pop up a custom component in the scope of a DataGrid
> itemEditor.
> 
> I know this should work, because a ComboBox is basically the same
> thing (a popup button with a list). I have a popup with a tree for
> selection instead of a flat list.
> 
> What is happening is that as soon as a click occurs on the tree, the
> editor loses focus (the popup button) and the edit session ends. This
> all happens before the selection propogates back out of the popup.
> 
> Does anyone know about how the focus change affects an itemEditor or
> how the combo box can prevent losing focus when you click in the list
> portion of the combo popup?
> 
> thanks,
> Thunder
>





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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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

Reply via email to