>In one of my forms, I let the user resize. However, I have some minimums. What is the best way to refuse a resize? I tried putting some code like RETURN .F. and NODEFAULT in the form Resize() event but that does not avoid it.
VFP 5 have MinHeight, MinWidth properties for forms.
Also, you can put this on the Resize event:
IF This.Width < 300
This.Width = 300
ENDIF
IF This.Height < 200
This.Height = 200
ENDIF
:)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca