• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 319
  • Last Modified:

Save and restore ToolBars positions

I'm have a CoolBar with some ToolBars on it.
How Save and Restore ToolBars positions and visibility between programs runs.

I'm know how to get current positions of all ToolBars in any CoolBar.
But then I'm try to restore ToolBar's properties they not restored correctly.
0
lmikle
Asked:
lmikle
  • 2
1 Solution
 
zebadaCommented:
When restoring toolbar positions, one thing to watch out for is that you need to set each toolbar's Top property BEFORE you set it's Left property.

This appears to be because the Left property *may* be changed when the Top property is set - i.e. if another toolbar is in the way.

I am using TActionBars on a ControlBar (not a CoolBar) so I do not know if the same applies to your config.

Regards
Paul
0
 
lmikleAuthor Commented:
2 zebada

Thank you. This work with ControlBar correct.
I will accept your comment as answer.
0
 
lmikleAuthor Commented:
B becouse not work with CoolBar, but solve current problem.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now