Use the Event.ADDED.
Add an event listener to the container, then you really just could check the if() statement I gave earlier regarding the verticalScrolBar and horizontalScrollBar properties of the container.
These properties WILL be assigned by the time the event is broadcast to your listener.
Peace, Mike
That is a given.
What I actually want to do, is to be able to detect (in ActionScript)
WHEN the scrollbar is added/removed from the container.
Thanks,
Daniel
On 11/3/06, Igor Costa <[EMAIL PROTECTED]> wrote:
>
> Daniel
>
> This kind of request is simple, just use the hipotetical situation where you seted a container with the size of 400x300 and inside this container you added a component like panel as 500x600, what's gonna happen? the scroll will automaticly add the scroll.
>
> So, isn't goo enough but if you want to just see more details? just check out the liveDocs here below:
>
> http://livedocs.macromedia.com/flex/2/langref/mx/controls/scrollClasses/package-detail.html
>
> Regards.
>
>
>
>
> On 11/2/06, Daniel Cascais <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> > Is there any known event that is dispatched when the scrollbar is
> > showing/not showing in a container, when the scroll policy is set to
> > auto?
> >
> > In other words: How can I know when a container's srollbar is showing
> > or not showing? (Apart from looking at the screen of course).
> >
> > Thanks,
> > Daniel
> >
>
>
>
> --
> ----------------------------
> Igor Costa
> www.igorcosta.com
--
Daniel Cascais
Tel: +56 (0)2 4589495
Cel: +56 (0)9 9417355
--
Teoti Graphix
http://www.teotigraphix.com
Blog - Flex2Components
http://www.flex2components.com
You can find more by solving the problem then by 'asking the question'. __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- Re: [flexcoders] Detect scrollbar showing/not showing Daniel Cascais
- Re: [flexcoders] Detect scrollbar showing/not showin... Michael Schmalle
- Re: [flexcoders] Detect scrollbar showing/not showin... Michael Schmalle
- RE: [flexcoders] Detect scrollbar showing/not showin... Karl Johnson
- Re: [flexcoders] Detect scrollbar showing/not sh... Daniel Cascais
- Re: [flexcoders] Detect scrollbar showing/no... Michael Schmalle
- Re: [flexcoders] Detect scrollbar showin... Daniel Cascais
Reply via email to

