Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'NAME' clause of DO FORM
Message
De
09/09/1998 15:14:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00134714
Message ID:
00134742
Vues:
14
>>>>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

It will be object in Form.Activate event, so you can use it there.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform