There are probably multiple ways to do this, but what about checking to see if myContainer.verticalScrollBar == null?
Are you looking to do this at render time or is this something where the scroll bar could show at anytime after creationComplete and you need to be able to react immediately?
 
According to the API Doc:
 
verticalScrollBar property  
verticalScrollBar:ScrollBar  [read-write]

The vertical scrollbar used in this container. This property is null if no vertical scroll bar is currently displayed.

|<

Karl Johnson

Cynergy Systems



From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Cascais
Sent: Thursday, November 02, 2006 10:00 PM
To: [email protected]
Subject: [flexcoders] Detect scrollbar showing/not showing

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

__._,_.___

--
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

__,_._,___

Reply via email to