Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-23 Thread Scott Langeberg
Does anyone know the event that gets fired by Panels or TitleWindows, when the user clicks the header? This should be what the PopUpManager listens for, to enable dragging. I would like to intercept that event, for custom dragging or to stop dragging. ScottOn 3/22/06, mvbaffa [EMAIL PROTECTED]

Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-23 Thread jeremy lu
hi mvbaffa, forget about what I said, the api changed in beta2, correct way to do that is now : borderAlpha = 1; headerColors = [0xE7E7E7, 0xD9D9D9]; which will make a aqua-alike panel with grey-gradient titlebar. jeremy. On 3/22/06, mvbaffa [EMAIL PROTECTED] wrote: Hi everybody,

Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-23 Thread jeremy lu
hi scott, extends Panel/TitleWindow then use following code: this.titleBar.addEventListener(mouseDown, onMouseDown); you can pretty much do anything you like to titleBar. jeremy. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-23 Thread Scott Langeberg
Thanks so much. That's what I've been looking for, for some time!!ScottOn 3/23/06, jeremy lu [EMAIL PROTECTED] wrote: hi scott, extends Panel/TitleWindow then use following code: this.titleBar.addEventListener(mouseDown, onMouseDown); you can pretty much do anything you like to titleBar.

[flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-22 Thread mvbaffa
Hi everybody, How can I set the appearance of Flex 2 Panels and TitleWindows headers similar to one of Flex 1.5 Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-22 Thread jeremy lu
panelAlpha = 1headerHeight = 22will also look very much alike those found in aqua...On 3/22/06, mvbaffa [EMAIL PROTECTED] wrote:Hi everybody,How can I set the appearance of Flex 2 Panels and TitleWindows headers similar to one of Flex 1.5Thanks--Flexcoders Mailing ListFAQ: