Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 778685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:48:17+00:00 2026-05-14T19:48:17+00:00

I created in my app 2 toolbars. Because I wanted to be able to

  • 0

I created in my app 2 toolbars. Because I wanted to be able to drag them, I put both TToolBar components inside a TControlBar. I this case I can move them, but I want to be able to drag them like in MS Office (drag a toolbar from top and put it left, right or at bottom of the window and save it’s position)….

Can anyone help me out?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T19:48:18+00:00Added an answer on May 14, 2026 at 7:48 pm

    Set ‘DragKind’ of the ToolBars to ‘dkDock’, and ‘DragMode’ to ‘dmAutomatic’. ‘DockSite’ of the ControlBars should be True. Now all you need is to hold on sth. to drag, for some reason the drag handles does not seem to work, but seperators would do. Perhaps a seperator as a first item would fake a drag handle.

    For test purposes compile and run the ‘Docking Demo’ in ‘…\Demos\DelphiWin32\VCLWin32\Docking’ folder. You should be able to float ‘Toolbar1’ by dragging from the separator between ‘Exit’ and ‘Toolbar1’ buttons.

    As for saving the position, I believe you would do that manually

    Having said these, IMO, these controls would not make for good GUI elements. As far as I know the Office applications have never used the ToolbarWindow32 and Rebar controls. Go for a 3rd party library instead. I am using a SpTBXLib library which depends on Toolbar2000.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created an app that interacts with a SOAP service using java WS. I
I am new to Windows Mobile and created an app that needs to do
The setup of my Windows Mobile app is created using VS2008. It contains a
I've created a very simple app, which presents an easygui entrybox() and continues to
I've created an web authentication app using c# & asp.net and want to bounce
I created an application in VS 2008 Express as an MFC app just to
I have created a windows installer for a windows forms app as an MSI.
I have created an ashx handler that returns an image to my flex app.
I have created a setup project in VS2008. My WinForms app uses .NET 2.0,
I've created a database in Visual Studio 2008 in an App_Data folder of a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.