Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'NAME' clause of DO FORM
Message
 
 
À
09/09/1998 15:03:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00134714
Message ID:
00134738
Vues:
13
>>>You can avoid these problems using something better defined and scoped:
>>>DO FORM myform NAME oApp.myform LINKED
>>>Now you can always refer to this form from any place of your application e.g. oApp.Myform.Caption="...."
>>
>>So...
>>
>>oApp is my application object, right?
>>Then do I have to make 'myform' a property of oApp?
>
>Yes
>
>>That didn't work either...
>
>It always works. Did you use 'LINKED'?

I'm using:
DO FORM billrec WITH .F., sbill_link NAME goApp.billrec LINKED

Then for testing I'm checking the TYPE in the INIT event of 'billrec'

When 'billrec' is a property of goApp, it stays Logical
When 'billrec' is NOT a property, it shows as undefined?

Does it possibly not come into existence until AFTER the INIT?
I don't think so...Like I said, my first use of this syntax works fine!

Any more ideas?

Thanx
Independant Foxpro Developer
Spring Hill, FL
jpirola@tampabay.rr.com
352/686-8373
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform