473,721 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ToolstripManage r not restoring toolbar positions.

Hi All,

I've got a few toolbars in my application hosted in a
ToolStripContai ner. I have found a problem whereby the location of a
toolbar is not restored when doing a LoadSettings if the toolbar is in
the same ToolStripPanel as specified in the settings.

For example, create a toolbar in ToolStripContai ner.TopToolStri pPanel
and save settings. Drag to tool bar somewhere else within
ToolStripContai ner.TopToolStri pPanel and then load the settings, the
tool bar does not move back to the original position. Drag the
toolbar to ToolStripContai ner.BottomToolS tripPanel and then load the
settings, the tool bar moves back to the original position within
ToolStripContai ner.TopToolStri pPanel.

Does anyone know who to get the tool bar position to be updated
properly even when the toolbar is in
ToolStripContai ner.TopToolStri pPanel when the settings are loaded?

Thanks

Nick

Mar 15 '07 #1
3 5258
VJ
Looks localsettings has issues, and can't re-locate, oh I mean just update
location. I repo the problem here, In our application. uhmm. Have to see
whether it is .NET problem.

I can see if I find time to get a sample, maybe will help people from MS to
look at. Nick if you have time or a have sample go ahead put it here.

VJ

"Undergrid" <np*******@gmai l.comwrote in message
news:11******** *************@e 1g2000hsg.googl egroups.com...
Hi All,

I've got a few toolbars in my application hosted in a
ToolStripContai ner. I have found a problem whereby the location of a
toolbar is not restored when doing a LoadSettings if the toolbar is in
the same ToolStripPanel as specified in the settings.

For example, create a toolbar in ToolStripContai ner.TopToolStri pPanel
and save settings. Drag to tool bar somewhere else within
ToolStripContai ner.TopToolStri pPanel and then load the settings, the
tool bar does not move back to the original position. Drag the
toolbar to ToolStripContai ner.BottomToolS tripPanel and then load the
settings, the tool bar moves back to the original position within
ToolStripContai ner.TopToolStri pPanel.

Does anyone know who to get the tool bar position to be updated
properly even when the toolbar is in
ToolStripContai ner.TopToolStri pPanel when the settings are loaded?

Thanks

Nick

Mar 15 '07 #2

I've uploaded a simple sample here:

http://www.undergrid.me.uk/test/WindowsApplication1.zip

Just a toolbar in a container on a form.

Click on the save button to save the position.
Move the toolbar along the same docking edge.
Click on load, nothing should happen.
Move the toolbar to one of the other edges of the form.
Clock on the load button and the toolbar should return to the position
you saved it at.

Nick

On 15 Mar, 14:12, "VJ" <nonewsaddr...@ yahoo.comwrote:
Looks localsettings has issues, and can't re-locate, oh I mean just update
location. I repo the problem here, In our application. uhmm. Have to see
whether it is .NET problem.

I can see if I find time to get a sample, maybe will help people from MS to
look at. Nick if you have time or a have sample go ahead put it here.

VJ

"Undergrid" <npthom...@gmai l.comwrote in message

news:11******** *************@e 1g2000hsg.googl egroups.com...
Hi All,
I've got a few toolbars in my application hosted in a
ToolStripContai ner. I have found a problem whereby the location of a
toolbar is not restored when doing a LoadSettings if the toolbar is in
the same ToolStripPanel as specified in the settings.
For example, create a toolbar in ToolStripContai ner.TopToolStri pPanel
and save settings. Drag to tool bar somewhere else within
ToolStripContai ner.TopToolStri pPanel and then load the settings, the
tool bar does not move back to the original position. Drag the
toolbar to ToolStripContai ner.BottomToolS tripPanel and then load the
settings, the tool bar moves back to the original position within
ToolStripContai ner.TopToolStri pPanel.
Does anyone know who to get the tool bar position to be updated
properly even when the toolbar is in
ToolStripContai ner.TopToolStri pPanel when the settings are loaded?
Thanks
Nick

Mar 15 '07 #3
VJ
Excellent, thanks. We will see if we get a response.

VJ

"Undergrid" <np*******@gmai l.comwrote in message
news:11******** **************@ l77g2000hsb.goo glegroups.com.. .
>
I've uploaded a simple sample here:

http://www.undergrid.me.uk/test/WindowsApplication1.zip

Just a toolbar in a container on a form.

Click on the save button to save the position.
Move the toolbar along the same docking edge.
Click on load, nothing should happen.
Move the toolbar to one of the other edges of the form.
Clock on the load button and the toolbar should return to the position
you saved it at.

Nick

On 15 Mar, 14:12, "VJ" <nonewsaddr...@ yahoo.comwrote:
>Looks localsettings has issues, and can't re-locate, oh I mean just
update
location. I repo the problem here, In our application. uhmm. Have to see
whether it is .NET problem.

I can see if I find time to get a sample, maybe will help people from MS
to
look at. Nick if you have time or a have sample go ahead put it here.

VJ

"Undergrid" <npthom...@gmai l.comwrote in message

news:11******* **************@ e1g2000hsg.goog legroups.com...
Hi All,
I've got a few toolbars in my application hosted in a
ToolStripContai ner. I have found a problem whereby the location of a
toolbar is not restored when doing a LoadSettings if the toolbar is in
the same ToolStripPanel as specified in the settings.
For example, create a toolbar in ToolStripContai ner.TopToolStri pPanel
and save settings. Drag to tool bar somewhere else within
ToolStripContai ner.TopToolStri pPanel and then load the settings, the
tool bar does not move back to the original position. Drag the
toolbar to ToolStripContai ner.BottomToolS tripPanel and then load the
settings, the tool bar moves back to the original position within
ToolStripContai ner.TopToolStri pPanel.
Does anyone know who to get the tool bar position to be updated
properly even when the toolbar is in
ToolStripContai ner.TopToolStri pPanel when the settings are loaded?
Thanks
Nick


Mar 15 '07 #4

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

Similar topics

4
5454
by: Jacob H | last post by:
Hello list... I'm developing an adventure game in Python (which of course is lots of fun). One of the features is the ability to save games and restore the saves later. I'm using the pickle module to implement this. Capturing current program state and neatly replacing it later is proving to be trickier than I first imagined, so I'm here to ask for a little direction from wiser minds than mine! When my program initializes, each game...
2
2367
by: Yair Sageev | last post by:
Greetings. I was running PHP Nuke on a Win2k box using Apache2Triad. Fortunately I backed up the drive using windows backup prior to the hard drive failure. Now I have installed Apache2Triad on another machine and wish to reimport the mySQL database that PHP Nuke relies upon. If anyone can tell me how to do this I would be very grateful. Thanks in advance.
102
7381
by: me | last post by:
How do I prevent the save/print/email/mypictures toolbar from popping up when IE users place their cursor over photos at my website? Thank you in advance for your help. Signed, me
0
1291
by: KK | last post by:
Dear All I have an MDI Application which needs to restore it's previously closed state on subsequent openings. While closing the application, I am storing the positions of all the Mdi child windows to a file.While opening I read the positions from the file,create Mdi Childs and apply positions. My problem is when I'm recreating the Mdi child windows they are created and appear in the Z order initially and later they moved to the applied...
4
2457
by: JC Voon | last post by:
Hi: My application use tabbed interface, i need a close button at the right edge of the tool bar, is it possible ? Thanks JCVoon
1
2368
by: Robbert van Geldrop | last post by:
Hello, I have a problem restoring Exchange 2000 files. Our software has an interface to ESEBCLI2.dll for online backup and restore features. Everything works fine with Exchange 2003 and also when backing up Exchange 2000, yet restoring Exchange 2000 gives some problems: A Store is restored: * the restore is started.
1
4957
by: MyndPhlyp | last post by:
Newbie alert! VB 2005 Express. One MDIParent form and one regular Form. The MDIParent has the standard ToolStrip. The MDI Child Form has its own ToolStrip that is to be merged onto the MDIParent's ToolStrip. Sounds simple, right? I've gone through quite a few URLs that all pretty much say the same thing but I have yet to get this completely working. (Most of those URLs also seem to wander away from ToolStrip and instead go down the...
1
2376
by: Wolfgang Thomsen | last post by:
Hello, I need to process very large files which are made of blocks of data. To speed up the reading of a specific block, I let my program note down the streampos of each block's beginning in a file, which seems to work. For reading the stream positions back, I use the following code: while(!indexfile.eof()) { int position;
5
6562
by: Troels Arvin | last post by:
Hello, Every so often, I'm asked to help people recover data from tables that were either dropped or where to much data was DELETEed. The complications related to restoring data are a problem. The SAS users are laughing because they can (to a certain extend) easily go back to an earlier SAS table by simply starting dsm. Of course, a flat file table is different than a relational table; but still, the trouble related to restoring DB2...
0
8738
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
9230
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
9148
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
8026
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...
1
6678
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4499
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
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
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
2
2596
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.