Link to home
Start Free TrialLog in
Avatar of coracleit
coracleit

asked on

How to remove the little Close button when using ManualDock

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
Avatar of mokule
mokule
Flag of Poland image

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

BorderIcons.biSystemMenu := False;
Avatar of coracleit
coracleit

ASKER

I wish it was that simple .. thanks anyway
ASKER CERTIFIED SOLUTION
Avatar of Johnjces
Johnjces
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
The code snippet I provided DOES hide the close (X) button, so to the site admins... not sure what else to recommend.

John