And I would check on updateComplete event.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter DeHaan
Sent: Thursday, November 01, 2007 8:35 PM
To: [email protected]
Subject: RE: [flexcoders] detecting the appearance of scrollbars

 

What about checking the container's maxHorizontalScrollPosition and/or
maxVerticalScrollPosition properties?

 

http://livedocs.adobe.com/flex/201/langref/mx/core/Container.html#maxHor
izontalScrollPosition
<http://livedocs.adobe.com/flex/201/langref/mx/core/Container.html#maxHo
rizontalScrollPosition> 

http://livedocs.adobe.com/flex/201/langref/mx/core/Container.html#maxVer
ticalScrollPosition
<http://livedocs.adobe.com/flex/201/langref/mx/core/Container.html#maxVe
rticalScrollPosition> 

If either of those is greater than 1, the scroll bar should be visible.

Peter

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Stephen Allison
Sent: Thursday, November 01, 2007 2:57 PM
To: [email protected]
Subject: [flexcoders] detecting the appearance of scrollbars

Hello all,
Does anyone have a reliable means of detecting when a container with 
scroll policy "auto" has its scroll bars appear or disappear?

Thanks in advance...
Stephen

 

Reply via email to