Michael, Karl, Thanks for your inputs.
I'm doing some dynamic tile layout and sizing which requires me to set different params depending on the scrollbar availability and tile count. I also thought about the Event.RENDER but it seemed overkill. I'll look into the different options, but I'll probably end up checking for the existence of the scrollbar in each iteration of a loop (where I size and position the tiles) and break if the conditions change, recalling the method with new parameters... or something like that. Thanks guys, Daniel On 11/3/06, Karl Johnson <[EMAIL PROTECTED]> wrote: > > > 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 > -- Daniel Cascais Tel: +56 (0)2 4589495 Cel: +56 (0)9 9417355 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

