473,651 Members | 2,485 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Saving/Loading ToolStrip Location within a ToolStripPanel

Does anybody know how to load a ToolStrip's location within a
ToolStripPanel? I have several ToolStrips and want them to remember
their location from one session to the next.

I have tried saving the Location property and reapplying it, but it
doesn't always give the desired results. I have tried setting the
location before and after adding the ToolStrip. I have tried
suspending/resuming/performing layout on the panel. Nothing seems to
give me consistent results.

I don't think the ToolStripManage r is an option because I need to
save the info in a database so the user gets the desired results no
matter which work station they use.

Any ideas?

Mar 6 '06 #1
0 3075

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3119
by: Foehammer | last post by:
Hello, I'm trying to load an assembly dynamically using an app domain. This is a proof-of-concept for a larger project, so please excuse the lame class names. TestLib is the dll where all the dynamic loading code will go. The assemblies being dynamically loaded do not contain any code. They are resource-only assemblies. I have succeeded in dynamically loading them within the same AppDomain as the main application (a Winforms EXE that...
1
10627
by: WellBrewed | last post by:
Hi, I want to be able to put a set of rafting toolbars on my MDI application form. The Toolstrip container does not help with this. The content panel is in the way of my child forms. I tried setting the content panel background to invisible, and sending it to the back, but that did not work. Is there any workaround to get rafting toolbars in an MDI app?
4
11450
by: gene kelley | last post by:
The default ToolStrip apparently renders an MS Office Style ToolStrip when the RenderMode is other than "System". When using a BackgroundImage in the ToolStrip, this Office Style border has rounded corners and looks like hell. According to the Help file: To change the Microsoft Office–style borders to straight Override...
1
1899
by: trainersb | last post by:
I am trying to use the ToolStrip control in Visual Studio 2005. I create a C# Windows application & add a ToolStripContainer control to the form with top, left, bottom & right panels visible. I have docked it to fill the form. Next I add a ToolStrip control to tje top panel of the ToolStripContainer control. I add a few items to the ToolStrip (it doesn't matter what these items are). Finally I run the project. I can 'dock' the...
1
1633
by: Franky | last post by:
I saw the following on the Internet and wonder if you have any inside info about future improvements to the ToolStrip family that can be shared ? Is it possible to have the same items in two different MenuStrip controls, for example the main menu and a context menu? With the entire ToolStrip family of controls we do not have an integrated commanding architecture nor do we support cloning of items to
4
18880
by: =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= | last post by:
Hi I'm trying to create a composite control to be used on a ToolStrip, consisting of a ToolStripComboBox and a ToolStripButton. It's going to be a control used to search for text in a grid control on a WinForm. I've got it working fine on a single form but now want to reuse this functionality on other forms. Usually this would be a simple matter of creating a UserControl, however a ToolStripComboBox cannot be placed on a UserControl.
0
1568
by: =?Utf-8?B?VHJhY2tz?= | last post by:
Does the toolstripcontainer etc work at all? I want to save the settings for the toolstrip positions in my app so they start up with the saved positions. Tried using: ToolStripManager.SaveSettings(Me) in form.closing with ToolStripManager.LoadSettings(Me) in form load
0
2621
by: Martijn Mulder | last post by:
The ToolStrip on top of my form is to small. I want to increase its height. Simply setting the Height-property doesn't change the height, though. So I tried to place the ToolStrip in a ToolStripPanel, that does react to changes in its Height-property, and by setting the Dock-property of the contained ToolStrip to DockStyle.Fill, I expected the ToolStrip to fill the entire ToolStripPanel. Nope. See the code below, it is ready to run.
1
1490
nev
by: nev | last post by:
winapp: when i dock = fill my toolstrip in a toolstrippanel, it doesn't fill
0
8352
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
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,...
1
8465
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
8579
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
7297
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4144
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
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2699
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1909
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.