?
Solved

Save and restore ToolBars positions

Posted on 2003-03-20
3
Medium Priority
?
310 Views
Last Modified: 2010-04-04
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
Comment
Question by:lmikle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
zebada earned 600 total points
ID: 8176914
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
 
LVL 3

Author Comment

by:lmikle
ID: 8179811
2 zebada

Thank you. This work with ControlBar correct.
I will accept your comment as answer.
0
 
LVL 3

Author Comment

by:lmikle
ID: 8179815
B becouse not work with CoolBar, but solve current problem.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question