473,832 Members | 2,132 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how do you get autoscrollbars when inside a toolstripcontai ner

3 New Member
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 toolstripcontai ner with the buttons, textboxes, datagridviews, etc inside this toolstripcontai ner. 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 2997
Plater
7,872 Recognized Expert Expert
I you place it in the seperate pannel, did you remember do the following:
Set the panel's autoscroll property?
Set the toolstripcontai ner to FILL (or some other auto-grow-sizeing property)?
Jul 30 '07 #2
BradFuller
3 New Member
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 Recognized Expert Expert
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
BradFuller
3 New Member
Scenario's I have tried

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

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

toolstripcontai ner 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
1464
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 package has a module inside the directory, called "database", and therefore residing in the file some_package/database.py.
3
1899
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 there a way for me to know about it? (In MFC, for example, mouse movements are captured) Or do I just have to follow DragEnter/DragLeave and deduce from that?
0
1120
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 projects; its generated assembly is inside MyAssembly.dll When used inside a VC++.NET project it appears correctly over forms at design time but when trying to compile the project we get the following error:
0
1458
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 projects; its generated assembly is inside MyAssembly.dll When used inside a VC++.NET project it appears correctly over forms at design time but when trying to compile the project we get the following error:
8
2120
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 message, some entry in registry where a log is created (or that enables a log, trace, dump or whatever)... I'm a little bit frustated with this error :-( Tks, Ravi.
1
2469
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 event of the ToolStripContainer but it didn't help. Thanks, Joe
0
1516
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 property page or solution explorer, which will auto hide on mouse move. Please help m ewith this issue. Regards.
2
9344
by: Alan T | last post by:
I accidentally drop this control onto my form, how do I delete that ?
2
1967
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
9642
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10781
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10499
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10541
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10212
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5624
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5789
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3972
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.