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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement