Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding resizing to a minimum
Message
 
 
À
26/09/1997 22:22:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00051901
Message ID:
00052466
Vues:
32
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform