Check out layoutChildren and measure() and see if any strangeness is
going on?  Are you calling super in the createChildren() method too?

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ehogberg
Sent: Friday, January 27, 2006 9:59 PM
To: [email protected]
Subject: [flexcoders] Form as CellRenderer Strangeness in 1.5

Hi all:

I've noticed some strangeness attempting to use a Form-based custom
component (with nested TextEntry's, ComboBox's, etc.) as a CellRenderer:

a)  When I directly specify my custom component as the CellRenderer
for the list, everything works fine.

b)  When I write a AS-based CellRenderer, overriding the
createChildren() method, calling createClassObject() to insert a new
instance of the custom component, the rendered component is unusable.
 Text fields never receive focus when I click on them.  When I open
the combo, the drop-down list appears in the upper-left corner of the
Flex application.

Based on the latter, I'd guess that the relative X/Y coords are
getting screwed up somehow.  No idea how,however.  Any special
properties I need to set when using a AS-based CellRenderer to get
around this?

Thanks in advance,

-Eric-






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


Reply via email to