Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding resizing to a minimum
Message
 
 
À
30/09/1997 15:59:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00051901
Message ID:
00052538
Vues:
40
>>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.
>
>In my case, I haven't find a window to bypass those limit. Can you give me the trick in order to bypass it?

Gérald's solution will bypass the user resizing a window too small and revert the size back to a minimum. But if you are looking to revert the window size back to its last acceptable size, you would have to add 2 form properties and store the last acceptable dimensions in them. Then revert the form back to those values if the use resizes too small. I prefer reverting back to the minimum size to "minimize" user frustration. Although there are some user's I would like to mess with -- like make an Icon relocate itself when they position the mouse cursor over it so they can never click on it or drag it.

Did I miss your question?
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform