473,396 Members | 2,011 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,396 software developers and data experts.

how do you get autoscrollbars when inside a toolstripcontainer

I am trying to build a program in VS 2005 with C#, but I have ran into a problem I have yet to find a solution to and I know it is probably something simple. I have a tabcontrol container and inside each tabpage I want to place a toolstripcontainer with the buttons, textboxes, datagridviews, etc inside this toolstripcontainer. This is all fine but when I resize the window it does not create a scroll bar when it is sized smaller than the location of the controls in the container. I have tried adding in a panel and placing the controls on it but get the same issue. Any help would be great.
Jul 30 '07 #1
4 2973
Plater
7,872 Expert 4TB
I you place it in the seperate pannel, did you remember do the following:
Set the panel's autoscroll property?
Set the toolstripcontainer to FILL (or some other auto-grow-sizeing property)?
Jul 30 '07 #2
Yes when I added in the panel I tried setting it both to dock = fill and anchor = left,right, top, bottom with the autoscroll = true. I also set the textbox with multiline to anchor = left,right,top,bottom as well. but still no help
Jul 30 '07 #3
Plater
7,872 Expert 4TB
if you set something to DOCK/FILL you must turn the AUTOSCROLL OFF.
They have to be applied to different objects.
Jul 30 '07 #4
Scenario's I have tried

toolstripcontainer anchored top,left,right,bottom
panel anchored top,left and autoscrollbars true
result no scroll bars in panel when resizing

toolstripcontainer docked fill
panel anchored top,left and autoscrollbars true
result no scroll bars in panel when resizing

toolstripcontainer docked fill
panel anchored top,left,right,bottom and autoscrollbars true
result worked

Thanks for the tips I guess I just over looked the last scenario when I was going through things.
Jul 30 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Xif | last post by:
Hello Everyone! Here's a problem with relative imports: Suppose I have a package called some_package (in a separate directory included in the PYTHONPATH, with an __init__.py file etc.) This...
3
by: yuval | last post by:
Hi DragDrop event is fired by the control accepting the drop If the drop is performed outside the controls I'm watching with events (like on another control/panel/window or outside my app) is...
0
by: Severino | last post by:
Hi all, we have developed a .NET component for use inside Windows Forms: this component has been written using VC++.NET (2003) and is working perfectly when inserted inside VC#.NET or VB.NET...
0
by: Severino | last post by:
Hi all, we have developed a .NET component for use inside Windows Forms: this component has been written using VC++.NET (2003) and is working perfectly when inserted inside VC#.NET or VB.NET...
8
by: Ravi Ambros Wallau | last post by:
Hey guys: What can I do when an "Error Creating Control" is displayed on the form (instead of the control), and a tooltip indicating the error never is displayed? Is there some log, some hidden...
1
by: Joe | last post by:
I have a few ToolStripContains and ToolStrips in my app and only want certain ToolStrips to be able to be dropped on certain ToolStripContainers. Is there anyway to do this? I tried the DragEnter...
0
by: Neeraj | last post by:
Hi I want to know that how to auto hide ToolStripContainer on Mouse over. or is there any better tools available in .net which will auto hide on mouse over ,something similar to Visual studio...
2
by: Alan T | last post by:
I accidentally drop this control onto my form, how do I delete that ?
2
nev
by: nev | last post by:
I use mdi app and place a toolstripcontainer dock=fill. But when I try to open its the childform, it cannot be seen. I guess its under the toolstripcontainer. How to do this?
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:
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.