Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a form from another form
Message
De
23/08/2005 10:32:33
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01042911
Message ID:
01042926
Vues:
22
>Minds gone blank! How do I refresh my main form when I close my other form?
>
>Many thanks

'pends how you close the form.

By physically cloing it? - in the Unload event you can have code to refresh the other form,

as in: loMainForm.Refresh(), assuming the other form was invoked with an object name, as in:

Do form MainForm NAME loMainForm.

If the closing form was called from the main form, then, assuming the 2nd form is modal, directly after the invokation to it you can have Thisform.refresh(), as this is the next bit of code to be run after the other form.

Clear as mud?

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform