Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Autoexec Form method on load
Message
 
 
À
05/06/2001 19:46:49
Alan Law
Apocalypse Enterprises Inc.
Victoria, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00515496
Message ID:
00515561
Vues:
14
Alan,

You will have a much lower impact on your system if you just seed status points inside the methods themselves:

thisform.SetStatus( "Right now I'm doing X" )
...more code
thisform.SetStatus( "Now I'm doing Y" )


You could also use a timer on the form itself, that checked the PROGRAM() stack to see what method is currently executing.

>I want to use a Form to monitor the state of a series of custom methods. In other words, I want to show Stage A started, then completed, Stage B started, etc. The various Stages are custom form methods.
>
>The trick is this has to happen automatically once the form is loaded (it gets called from a timer event), without any user intervention.
>
>I don't know how/where to call the custom methods. Should I imbed a call directly in a form method (which one), or maybe stuff a KEYBOARD call to an invisible control, or is there a way to do this outside the form's control ? What's the best way to implement this ?
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