Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.refresh
Message
 
 
À
24/02/2004 18:36:10
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00880542
Message ID:
00880566
Vues:
14
Joel,

>What does thisform.refresh do?

It causes the controls to refresh their displayed values with any changes that may have occured in their ControlSource. If you've bound your form controls to object properties then you will need to code your own value reset method:
* thisform.Reset
with this
   .cProperty1 = "initial value"
   .nProperty2 = 0
endwith
Then you can simply call this method from the form Init() to set everything to your "default" values.

>
>I would like to have the user return to the original state of the form after processing is done when they click a command button.
>
>1 A form shows up
>2 User selects a comand button
>3 Processing and do something or report
>4 Form returns to exactly as it was when user came in
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform