hello

using TextArea's verticalScrollPosition u can check for the Vertical
Scrollbar exist or not

or u might be directly check the  txtAre.verticalScrollPosition  for
the same


example

//// script part

private function onKeyUpEvent(event:KeyboardEvent):void
{
        if ( event.currentTarget.verticalScrollPosition > 0 )
                Alert.show(" TextArea get Vertical Scroll bar " )
}

//// mxml part

<mx:TextArea keyUp="onKeyUpEvent(event)" height="70" width="250" />

Thanks
Virat Patel

On Oct 15, 9:21 am, hardeep thakur <[EMAIL PROTECTED]> wrote:
> Hi,
>
>     can anyone help me out with the problem that how to check vertical
> scrollbar exist or not in a text area . Actully in my application, i
> want that if there is a vertical scrollbar i want to call some
> function, based upon that want to perform some task.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to