Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form windowstate problem

Status
Not open for further replies.

FranklinYeung

Programmer
Apr 20, 2001
31
0
0
HK
Hi all,

How to restrict the form to be resized even if user double click the titlebar of the form. I want the form's windowstate property = 0 all the time.


Many thanks

:D
Franklin
 
setting the maxbutton proerty to false seems to do it. Also make sure the borderstyle is set to 1 or 2.
 
HI
You can set the forms following property values
Closable = .f.
MinButton = .f.
MaxButton = .f.

OR

Add the code in the init event
myForm.InitEvent
****************
ThisForm.Closable = .f.
ThisForm.MinButton = .f.
ThisForm.MaxButton = .f.

This will disable the buttons for users.
:) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top