Ok just looked in to the source of a combobox...

__dropdown = PopUpManager.createPopUp(this, List, false, o, true);

This is probably why the cellRenderer is not working..
Somebody got an solution..ELse I got to build my own combobox. which I
find overdone.


--- In [email protected], "moyosaned" <[EMAIL PROTECTED]> wrote:
>
> created an cellRenderer, I want to use this cellrenderer in a combobox;
> 
> I tried the following:
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:ComboBox xmlns:mx="http://www.macromedia.com/2003/mxml";
> creationComplete="initApp()">
> 
>       <mx:Script>
>       <![CDATA[
>               import bla.bla.FlexBoxRenderer;
>               import bla.bla.MultiLineCell;
>               import org.panda.gpn.utils.Debug;
>               
>               public function initApp():Void{
> 
>                       this.dropdown.setCellRenderer(MultiLineCell);
> 
>               }
>               
>       ]]>
>       </mx:Script>
> 
> </mx:ComboBox>
> 
> I use the creationComplete, otherwise the dropdown does not exists
> where I have to set the cellRenderer for. but nothing happens after
> it, I am not tracing anything when I fill the Combobox.dataprovider
> 
> So anybody
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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