Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference to Calling Form
Message
De
23/07/2002 19:56:21
 
 
À
23/07/2002 18:33:33
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00681858
Message ID:
00681891
Vues:
14
Thanks Jason Will give it a try. It does sound like a weird anamoly because after I submitted the message, it worked. This may solidify the solution. Tom

>Tom,
>
>I think you're running into a timing issue. Referencing "ThisForm" before the form has completely Init'd can cause some "weird" anomalies such as you're seeing.
>
>Try reversing your code as follows:
>
>LPARAMETERS toCallingForm
>
>IF !DODEFAULT()
>   RETURN .F.
>ELSE
>   ThisForm.oCallingForm = toCallingForm
>ENDIF
>
>
>Hope that works!
>---J
>
>>Hi All - I have a cbizobjnolistmaintform with a button that calls a modal form. I need a reference to the calling form, and have the following code
>>
>>=DOFORM('lwHouseHoldSetUpForm', ThisForm)
>>
>>as explained in the developers guide. (Using 6.1.2 with VFP 7.0)
>>
>>The called modal form, based on cbasemodalform, has the following in its INIT;
>>
>>LPARAMETERS toCallingForm
>>
>>ThisForm.oCallingForm = toCallingForm
>>
>>DODEFAULT()
>>
>>
>>When I check the called form oCallingForm all I see is a repeat of alias() over and over again. There is nothing else in the oCallingForm property of the modal form. Gotta be doing something wrong, but I don't see it.
>>
>>Thanks for any advice or help. Tom
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform