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
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
ASKER
I wish it was that simple .. thanks anyway
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
John
What about setting
BorderIcons.biSystemMenu := False;