Want to set scroll bar at the application level

14 views
Skip to first unread message

mani

unread,
Nov 17, 2009, 7:29:46 PM11/17/09
to Flex-IFrame
In my application I have header, a VBox with iframe at the middle and
footer. If I set the url for the frame, I see scroll bar in VBox which
holds the iframe. Is there a way to show scroll bar at the application
level?. I mean if the height of the html page grows, VBox height
should increase automatically and scroll bar should come at
application level. I don't want to see scroll bar at the middle.

Thanks,
Mani

Julien Nicoulaud

unread,
Nov 18, 2009, 2:40:50 AM11/18/09
to flex-...@googlegroups.com
Hi

verticalScrollPolicy="off" on the VBox ?
http://livedocs.adobe.com/flex/3/langref/mx/core/Container.html#verticalScrollPolicy

iframe width="100%" height="100%" ?

This is not related to flex-iframe, it's just basic Flex layout.

2009/11/18 mani <m2sub...@gmail.com>

Subramani Kamalanathan

unread,
Nov 18, 2009, 1:08:13 PM11/18/09
to flex-...@googlegroups.com
Julien,
 
Thanks for your suggestion.
 
I tried both the options. If I set verticalScrollPolicy to off and iframe height=100% I see only half of the html page with no scroll bar. If i set the height of the VBox explicitly to 600 or 700 pixels, I can see the full html page but iframe stays on top and floats
Thanks,
Mani

Julien Nicoulaud

unread,
Nov 18, 2009, 1:20:55 PM11/18/09
to flex-...@googlegroups.com
Can you provide screenshots or sample code ? It would be easier for me see what the issue is here.

2009/11/18 Subramani Kamalanathan <m2sub...@gmail.com>
Reply all
Reply to author
Forward
0 new messages