Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autoexec Form method on load
Message
 
 
To
05/06/2001 19:46:49
Alan Law
Apocalypse Enterprises Inc.
Victoria, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00515496
Message ID:
00515561
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform