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
but this does not always work right. I have a form with nothing but a
toolstripcontainer and 3 toolstrips of different size. I can arrange the
strips one way, exit, restart, the strips go back. Arrange different,
restart, now they dont go back to where they were, they blow up and do all
kinds of goofy stuff.
Some arrangements the toolstrips are restored properly, others not.
I tried:
ToolStrip1.Location = My.Settings.tool1location
ToolStrip2.Location = My.Settings.tool2location
ToolStrip3.Location = My.Settings.tool3location
I will spare the gory details, I think I am saving and have things setup
right, but same problem.
Some arrangements the toolstrips are restored properly, others not.
I look at the values of My.Settings.tool1location and son of a gun if it
seems like the x, y values are mixed up for the controls sometimes, not
others, whaaa the...
Does this stuff work at all or is it totally goofy? What am I missing about
how this works? I guess it is deciding they dont fit and moving them, but
they did fit when saved. What is changing?
The whole thing is even worse in the vs2005 designer. My real app has about
10 tool strips on the main form and they jump all over and disappear and move
around for no good reason. The tool container resizes itself and makes a mess
of the whole house. I am about to kick them all out but Ive spent weeks
implementing them and they look good and they are nice to use as buttons etc.
Thanks,
Tom