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

ToolstripManager not restoring toolbar positions.

Hi All,

I've got a few toolbars in my application hosted in a
ToolStripContainer. 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 ToolStripContainer.TopToolStripPanel
and save settings. Drag to tool bar somewhere else within
ToolStripContainer.TopToolStripPanel and then load the settings, the
tool bar does not move back to the original position. Drag the
toolbar to ToolStripContainer.BottomToolStripPanel and then load the
settings, the tool bar moves back to the original position within
ToolStripContainer.TopToolStripPanel.

Does anyone know who to get the tool bar position to be updated
properly even when the toolbar is in
ToolStripContainer.TopToolStripPanel when the settings are loaded?

Thanks

Nick

Mar 15 '07 #1
3 5226
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*******@gmail.comwrote in message
news:11*********************@e1g2000hsg.googlegrou ps.com...
Hi All,

I've got a few toolbars in my application hosted in a
ToolStripContainer. 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 ToolStripContainer.TopToolStripPanel
and save settings. Drag to tool bar somewhere else within
ToolStripContainer.TopToolStripPanel and then load the settings, the
tool bar does not move back to the original position. Drag the
toolbar to ToolStripContainer.BottomToolStripPanel and then load the
settings, the tool bar moves back to the original position within
ToolStripContainer.TopToolStripPanel.

Does anyone know who to get the tool bar position to be updated
properly even when the toolbar is in
ToolStripContainer.TopToolStripPanel 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...@gmail.comwrote in message

news:11*********************@e1g2000hsg.googlegrou ps.com...
Hi All,
I've got a few toolbars in my application hosted in a
ToolStripContainer. 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 ToolStripContainer.TopToolStripPanel
and save settings. Drag to tool bar somewhere else within
ToolStripContainer.TopToolStripPanel and then load the settings, the
tool bar does not move back to the original position. Drag the
toolbar to ToolStripContainer.BottomToolStripPanel and then load the
settings, the tool bar moves back to the original position within
ToolStripContainer.TopToolStripPanel.
Does anyone know who to get the tool bar position to be updated
properly even when the toolbar is in
ToolStripContainer.TopToolStripPanel 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*******@gmail.comwrote in message
news:11**********************@l77g2000hsb.googlegr oups.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...@gmail.comwrote in message

news:11*********************@e1g2000hsg.googlegro ups.com...
Hi All,
I've got a few toolbars in my application hosted in a
ToolStripContainer. 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 ToolStripContainer.TopToolStripPanel
and save settings. Drag to tool bar somewhere else within
ToolStripContainer.TopToolStripPanel and then load the settings, the
tool bar does not move back to the original position. Drag the
toolbar to ToolStripContainer.BottomToolStripPanel and then load the
settings, the tool bar moves back to the original position within
ToolStripContainer.TopToolStripPanel.
Does anyone know who to get the tool bar position to be updated
properly even when the toolbar is in
ToolStripContainer.TopToolStripPanel 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
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...
2
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...
102
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
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...
4
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
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...
1
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...
1
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...
5
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....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.