>>>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.
>>
>>Have you tried the MinHeight/Width, MaxHeight/Width of the form?
>
>Wow, was I missing the boat on that one. Please, don't laugh all at the same time. :)
>
>Thanks a lot.
Michel:
I'm not laughing because I have used those properties as well. I did not find this as "automatic" as I thought it would be. I could still resize the form to less than the MinHeight/MinWidth than what I specified. I had to resort to the code Gérald Santerre suggested in his response.
Mark McCasland
Midlothian, TX USA