Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Let user resize a form
Message
 
 
À
25/06/2014 17:02:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01602502
Message ID:
01602516
Vues:
61
>>>Anybody can share some code on how to let a user resize a form and keep the new dimension.
>>>
>>>I know that there is the resize event but it looks like it's not really what I need. I mean I put a messagebox in that event and as soon as I resize the window the event pops up the message immediately. I want to be able to save the information about new dimension of the screen after the resizing is finished.
>>>
>>>Any code you can share?
>>
>>I found this message #1594240 which may help. I remember Tamar Granor worked on this problem, so I searched by her User ID.
>
>Thanks Naomi,
>
>After posting this message I thought of something. I could do this in the UNLOAD nethod. Verify if dimensions changed. What do you think?

It depends on the intent. Say, we save new form's dimensions in form's Destroy event.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform