473,395 Members | 1,653 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 6671
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 doesn't specify which scrollbar is present, so it...
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 -> Options-> Text Editor-> General-> Vertical Scrollbar...
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 panel2 inside of it, I can add all sorts of controls...
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 frames. (Please no diskussion about the sense of...
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 to fill, and multiple panels on the tab control....
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 holds a lot of data and exceeds the size of the...
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, the horizontal scrollbar will appear on the Panel...
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 the panel . Read the values from 2 text files ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.