Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Autoexec Form method on load
Message
De
05/06/2001 21:05:44
 
 
À
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:
00515524
Vues:
17
>Hi folks,
>
>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 ?
>
>Thanks in advance for any tips.

Alan,

I'm not exactly sure what you are trying to do, but I'll hazard a guess. You have a form that has some "custom" methods on it (FORM_B). You want to have a second form (FORM_A) watch what happens in those methods and report this in text boxes.

If that's the case, just spawn a modal FORM_B (where your "custom" methods reside) from a modal FORM_A (use the ACTIVATE event) and in the custom methods on FORM_B do something like

FORM_B.TextBox1.Value = "Stage A Rocket Fired..."

etc. etc.

FORM_A can now manipulate objects on FORM_B (the "calling form in this case") at will.

Like I said, I'm not sure if I understood your request so sorry if I missed. Hope this helps

-Arne
arne@synercom-edi.com "There are no absolutes but this one."
President, synercom/edi - Event Ticketing Solutions
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform