Re: [flexcoders] Select and highlight child panel

2005-05-16 Thread Manish Jethani
On 5/14/05, Tom Fitzpatrick [EMAIL PROTECTED] wrote: Thanks - I already tried this, and the borderstyle property doesn't seem to have any effect on a Panel component. What property would create a highlight all the way around the edge of a Panel? The Panel does not seem to respect the border

[flexcoders] Select and highlight child panel

2005-05-14 Thread Tom Fitzpatrick
In a vbox, I have a group of child panels created dynamically with a repeater. What code should I use on the mousedown to allow a user to select any one of the panels, and what property do I change to highlight the selected panel? Ideally what I'd like to do is outline the selected panel in a

Re: [flexcoders] Select and highlight child panel

2005-05-14 Thread Jeff Tapper
Sounds like you want something like: mx:VBox mouseDown=highlightme(event)/ function highlightme(event){ event.target.setStyle(borderColor,0xff); } standard disclaimers about code before the first cup of coffee... At 08:39 AM 5/14/2005, you wrote: In a vbox, I have a group of child

Re: [flexcoders] Select and highlight child panel

2005-05-14 Thread Tom Fitzpatrick
Thanks - I already tried this, and the borderstyle property doesn't seem to have any effect on a Panel component. What property would create a highlight all the way around the edge of a Panel? - Tom At 09:24 AM 5/14/2005, you wrote: Sounds like you want something like: mx:VBox