Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environment problem
Message
 
À
19/04/1999 12:07:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00209706
Message ID:
00209710
Vues:
18
Where are you making your call to your custom method... or is it just a method sitting there... If no call made, you might want to call it from the form LOAD event as a default...

>HELP:
>
>I have the following heirachy:
>VFP Form
> BaseForm (Insulation layer)
> myBaseForm (with several custom methods & properties)
> myForm
>
>myBaseForm has a method call frmSetupDataSession that contains code (MAYBE it shouldn't)
>
>myForm has the following code in frmSetupDataSession:
>LPARAMETERS plkeepvfpdefaults
>set step on
>dodefault(plkeepvfpdefaults)
>
>myForm.DataEnvironment.BeforeOpenTables contains the following code:
>set step on
>thisform.frmSetupDataSession
>
>When I trace into the form, I get a breakpoint on BeforeOpenTables. When I use the trace button, the next line that "breaks" is in myBaseForm.frmSetupDataSession. I NEVER get a "break" in myForm.frmSetupDataSession. What am I doing wrong?
>
>TIA
>Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform