Hi Tim, Jeff Tapper's MaxRestorePanel could probably be easily modified for this.
http://jeff.mxdj.com/flex_2_maxrestorepanel_class.htm Doug --- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > How would you suggest positioning the button in the header? > > --- In [email protected], "Daniel Cascais" > <daniel.cascais@> wrote: > > > > Hi, I'm not Michael, but I can still give it a try ;) > > In a class where you extend the Panel, you could add something like > > this rough example: > > > > Blah blah blahÂ… > > private function creationCompleteHandler( event:Event ) : void > > { > > var myButton : Button = new Button(); > > this.rawChildren.addChild( myButton ); > > myButton.addEventListener( MouseEvent.CLICK, > myButtonClickHandler ); > > } > > > > Daniel > > > > On 6/15/06, Tim Hoff <TimHoff@> wrote: > > > Hey Michael Schmalle, > > > > > > Since you're one of the component guru's here, I was wondering > if you > > > had an example of how to place an icon button in the header of a > > > panel. I want to have a panel that the user can pin to keep it > > > visible at all times. I suppose that I could subclass a > titleWindow. > > > I just haven't had any experience with this yet. Any thoughts > that > > > you could share would be greatly appreciated. > > > > > > Thanks, > > > Tim Hoff > > > > > > > > > > > > > > > > > > > > > -- > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Daniel Cascais > > Tel: +56 (0)2 4589495 > > Cel: +56 (0)9 9417355 > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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/

