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 7969675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:16:28+00:00 2026-06-04T07:16:28+00:00

I’ve created an application which consists of a MainForm and several MDIChild Forms. I’m

  • 0

I’ve created an application which consists of a MainForm and several MDIChild Forms. I’m using AdvDockPanel and AdvToolbar from TMS’ components. My main form has AdvDockPanels on Top, Bottom, Left and Right side of the Form to display AdvToolbars.

Each MDIChild Forms contains an AdvToolbar and at creation of theses forms the AdvToolbar.Parent is set to the AdvDockPanel on the MainForm. At first, the AdvToolbar.Visible is False and on activation of each MDIChild Form I’m setting it’s visibilty to True.

To sum up, on activation of an MDIChild Form I want it’s AdvToolbar to be displayed on MainForm.AdvDockPanel and on deactivation of it I want it to hide.

This all works fine except when I try to drag an AdvToolbar from one AdvDockPanel to an other will crossing the middle of my MainForm which makes my active MDIChild form hidden and that causes this error: “Cannot change Visible in OnShow or OnHide”.

I’ve debugged it and found where this Exception is raised. It’s in Vcl.Forms.
procedure TCustomForm.CMShowingChanged(var Message: TMessage);

So, I’d like to know if there is a way to display the AdvToolbar from my active MDIChild Form on the MainForm while being able to drag my toolbar all around in my MainForm.

Thanks,

  • Charles
  • 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-06-04T07:16:29+00:00Added an answer on June 4, 2026 at 7:16 am

    You could check if the current parent of the toolbar is a TFloatingWindow (thats the parent when dragging the toolbar):

    procedure TForm25.FormDeactivate(Sender: TObject);
    begin
       if not (orgaadvtoolbar1.Parent is TFloatingWindow) then
          OrgaAdvToolBar1.visible:=false;
    end;
    

    TAdvToolBar.Dragging doesn’t work because TAdvToolbar uses an own dragging flag FDraging but its not a property, so you could only access the variable if you modify the sourcecode of TMS Software.

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

Sidebar

Related Questions

I have a text area in my form which accepts all possible characters from
I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I would like to run a str_replace or preg_replace which looks for certain words

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.