472,331 Members | 1,584 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,331 software developers and data experts.

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 6591
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: anna | last post by:
How to tell if a horizontal scrollbar is present? I only want to use scrollTo if horizontal scrollbar is present. window.scrollbars.visibility...
4
by: Sakharam Phapale | last post by:
Hi All, I have installed VS .NET 2002 on my machine. I have checked both Vertical scrollbar and Horizontal Scrollbar options, in Tools ->...
4
by: Nathan | last post by:
I need a panel with only a vertical or only a horizontal scroll bar. Is there a way to do that? Nathan
2
by: YYZ | last post by:
I discovered something very interesting today, and it will save me a bunch of time...maybe. If you set Panel1.Autoscroll to true, and have a...
14
by: Michael Weis | last post by:
Hello all, as a non-professional in these things, I searched for this topic but found no satisfying answer: I have to create a site with 3...
3
by: =?Utf-8?B?UmFodnlu?= | last post by:
Hi All; I am building a Windows form with multiple panels. I have a large panel as the base on the form, with a tab control on top of it, docked...
2
by: ATR2000 | last post by:
I have setup a Panel to have a width of 100% so that it will adjust to users screensize. Within the panel I have a table. Unfortunately the table...
1
by: masteryacademy | last post by:
Hi Everyone, I am developing a Mobile App for Window Mobile. I am using C# on VS 2005. On a form, I got include a Panel. When I run the form,...
1
by: spalanivel | last post by:
Hi, I need to plot the wave format on the usercontrol screen with the use of text file(having input values). Horizontal Scrollbar is placed on...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.