Re: [flexcoders] Adding a button to the title area of a panel

2007-04-19 Thread Bjorn Schultheiss
In mine i got explicit setter method which adds the buttons to an array. That way you can have a dynamic amount of buttons, or rather specify which buttons you want to include in each instance.. B On 19/04/2007, at 5:38 PM, Janis Radins wrote: Thats what I used to create Panel with minimis

Re: [flexcoders] Adding a button to the title area of a panel

2007-04-19 Thread Janis Radins
Thats what I used to create Panel with minimise button: override protected function createChildren():void { super.createChildren(); minimiseButton = new MinimiseButton(); minimiseButton.width = 16; minimiseButton.height = 16; minimiseButton.fo

Re: [flexcoders] Adding a button to the title area of a panel

2007-04-18 Thread Bjorn Schultheiss
Theres a titleBar container within panel. Best bet is to extended panel so you can frequently add, remove, position this button as you wish. Bjorn On 19/04/2007, at 1:05 PM, {reduxdj} wrote: How do you do this? Thanks, Patrick Regards, Bjorn Schultheiss Senior Developer Personalise

[flexcoders] Adding a button to the title area of a panel

2007-04-18 Thread {reduxdj}
How do you do this? Thanks, Patrick