Close Box on Forms

JimMiller

Registered User.
Local time
Today, 07:16
Joined
Oct 22, 2001
Messages
18
I am trying to remove the close box from a form. I have disabled the Close Button property and have had no luck. Does anyone know any other methods to remove the close box at the top right of a form?
 
Set Control Box to No and Close Button to No
(Also gets rid of Min/Max though)
If your BorderStyle is Dialog, Mix/Max buttons will never show.

HTH
 
Thanks for you response!

You suggestion doesn't seem to be working, I believe it is because I am setting the following properties on start up

ChangeProperty "StartupShowDBWindow", dbBoolean, False
ChangeProperty "StartupShowStatusBar", dbBoolean, False
ChangeProperty "AllowBuiltinToolbars", dbBoolean, False
ChangeProperty "AllowFullMenus", dbBoolean, True
ChangeProperty "AllowBreakIntoCode", dbBoolean, False

Any Ideas?
 
I have these settings also set via the tools menu - Startup (except AllowBreakIntoCode) and it works fine, So I cant help you there.
 
Everything works except when you maximize the form. When maximized, the close button reappears in the top right corner.

I think it migth have to do with the custom menu bar I created. The close box does not appear in the custom menu bar until I maximize the form.

Does anyone have any ideas or thoughts?

[This message has been edited by JimMiller (edited 01-30-2002).]
 

Users who are viewing this thread

Back
Top Bottom