Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need 'Wile E. Coyote, Super Genius'...
Message
De
22/01/2001 15:10:43
 
 
À
20/01/2001 18:00:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00466285
Message ID:
00466917
Vues:
11
>Hey UTers ...
>So here's my dilemma. I've got a form class VALID call that calls a routine in the calling program in a FXP. I don't have source and it's a licensing thing, not a matter of Re-Foxing.
>
>I already know a trick where I can insert a program between the calling program and the Form Class. I can do this because the program where the VALID routine resides still calls an intermediate SPX, which in turn calls the Form Class (don't ask, it ain't my code). What I CAN do is RENAME the SPX to another file name. I can then write my own program and use the original name of the FXP and insert it between the two programs. I can then call the original FXP, which has the new name. This new program contains a function I wrote with the SAME NAME as the function the VALID event (LostFocus, actually) calls. Because MY function now sits closer to the calling object, mine triggers instead of the original function sitting up in the main program. This works fine ...
>
>However ...
>
>Is there a way ... for my routine to then call the routine OF THE SAME NAME further up the calling hierarchy (sorta like doing a program version of DODEFAULT)? Or can I somehow indicate which version of the program I want? I think if I call a function with the same name as the program I'm in I will go into a recursive loop, right?
>
>Example: If my program resides in JOHNPRG1 and is called 'ValidField()' and another function sits up the hierarchy in a program called 'CallingProgram.PRG', can I call 'DO CallingProgram.ValidField()'? I don't think this will work.
>
>Anyone got any ideas?
>
>TIA!

John,
Sounds like a case of working with SBT, am I corrcet here??
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform