You could use a Canvas tag to lay all kinds of things on top of a Panel. ie.
 
<mx:Canvas>
 
    <mx:Panel />
        ....
    </mx:Panel>
 
    <yourComps:CustomPanelHeader
        x="10" y="10" />
 
</mx:Canvas>
 
Best,
Alex
 
Alex Uhlmann
Technical Consultant (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6969
m: +44 (0) 7917 428 951 
[EMAIL PROTECTED]

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of gunnar a reinseth
Sent: 03 February 2006 12:30
To: [email protected]
Subject: [flexcoders] Closable Panel? (flex2)

I know that mx.controls.Panel contains a 'closeButton' which is utilised in the subclass TitleWindow. I really would like to have this close button on panels as well, so i guess i have to subclass Panel to achieve this. However, I have no clue of how to make this button visible and position it in the title area. Could anybody please help with this?

--
gunnar


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




Reply via email to