469,572 Members | 1,339 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,572 developers. It's quick & easy.

Panel with horizontal scrollbar

Hi,

I want a Horizontal scrollbar to appear in my Panel control when I add new
controls to it (when the width is getting too big).
The Vertical scrollbar is easy (adding overflow: auto to the style attribute
of the panel element).
Now when I dynamicly add controls to the Panel control the controls are
getting places at the next line (I did not add a <br>) instead of at the
same line (the horizontal scrollbar should appear now).
I looked at other postings about horizontal scrollbars but there is no place
where there are Panel controls behaving like I would like them to.

Can someone help me any further?

Thanks, Marco
Nov 17 '05 #1
1 6493
try enclosing in a div tag

"Marco Liedekerken" <ML**********@cardano-riskmanagement.nl> wrote in
message news:Ol**************@TK2MSFTNGP11.phx.gbl...
Hi,

I want a Horizontal scrollbar to appear in my Panel control when I add new
controls to it (when the width is getting too big).
The Vertical scrollbar is easy (adding overflow: auto to the style attribute of the panel element).
Now when I dynamicly add controls to the Panel control the controls are
getting places at the next line (I did not add a <br>) instead of at the
same line (the horizontal scrollbar should appear now).
I looked at other postings about horizontal scrollbars but there is no place where there are Panel controls behaving like I would like them to.

Can someone help me any further?

Thanks, Marco

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by anna | last post: by
4 posts views Thread by Sakharam Phapale | last post: by
4 posts views Thread by Nathan | last post: by
2 posts views Thread by YYZ | last post: by
14 posts views Thread by Michael Weis | last post: by
3 posts views Thread by =?Utf-8?B?UmFodnlu?= | last post: by
2 posts views Thread by ATR2000 | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.