Thanks Sherif for the response.
I am trying to do this to achieve 2 needs.
a) I need the divider to move by a standard number up or down on click of
the divider. I am able to do this by moving the divider up or down inside
the dividerPress handler - no problem here
b) I also want to avoid dragging of the divider (only the click should move
it, drag should have no effect) - this is where I am stuck...
Is this feasible?
Thanks
Ram
___________________________________________________________________________
Sherif Abdou-2 wrote:
>
> You can extend the VDividedBox and override
> override public function moveDivider(i:int, amt:Number):void
>
> {
>
> //leave it blank
>
> }
>
> ------
> Sherif Abdou
> http://VadexFX.com
> http://Sherifabdou.com
> ----- Original Message -----
> From: Nate Beck
> To: [email protected]
> Sent: Wednesday, September 10, 2008 11:27 AM
> Subject: Re: [flexcoders] VDividedBox - prevent dragging of divider
>
>
>
> Why wouldn't you just use a Vbox instead? My guess would be that you
> like the dragger thing being there?
>
>
> On Wed, Sep 10, 2008 at 9:01 AM, rviswanathan
> <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> I have a simple mxml with a vdividerbox that has 2 children. I am
> trying to
> find out if the divider drag can be disabled.
>
> The divider should not be draggable. Is there a way to do this?
>
> I was thinking along the lines of subclassing the dividerbox and the
> boxdivider classes, but couldn't find a way to start.
>
> Any pointers would really help...
>
> Thanks
> Ram
> --
> View this message in context:
> http://www.nabble.com/VDividedBox---prevent-dragging-of-divider-tp19414832p19414832.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>
>
>
>
>
>
>
>
--
View this message in context:
http://www.nabble.com/VDividedBox---prevent-dragging-of-divider-tp19414832p19438499.html
Sent from the FlexCoders mailing list archive at Nabble.com.