We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How to remove the little Close button when using ManualDock

coracleit
coracleit asked
on
Medium Priority
1,566 Views
Last Modified: 2012-08-14
Hi,

I have an application that docks forms onto a Tpanel (Outlook style...menu on left, contents on right)


My question is when ManualDock is used, it creates the little thin line at the top of the form with a small close button.

How do I prevent this close button from appearing, as I close all forms programatically.

Wayne
Comment
Watch Question

Commented:
I don't try it. Just a guess.
What about setting

BorderIcons.biSystemMenu := False;

Author

Commented:
I wish it was that simple .. thanks anyway
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Commented:
If you are using Delphi 7, you can change the Form.border:=None,
Maybe you also need to look at the help related to Form.UseDockManager


good luck

Commented:
The code snippet I provided DOES hide the close (X) button, so to the site admins... not sure what else to recommend.

John
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.