Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling code
Message
De
13/11/1998 08:50:17
 
 
À
12/11/1998 20:02:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00156775
Message ID:
00157363
Vues:
29
>can, you can call any event code by:
>>>>Thisform.Control.Event()
>>>
>>>
>>>Every time I try it i get the message "object thisform not found"
>>>
>>>TIA
>>>Chris
>>
>>If you run it outside the form, then you must provide full reference to it:
>>oApp.MyForm.Control1.Click()
>
>
>I tried database.myform.control.event() and
>database!myform.control.event() and neither worked. When you say app what
>do you mean...the database? the exe?
>
>Chris

I mean application object. Your application should have some mechanism to provide references to its components. It might be different, you can e.g. look in _SCREEN.Forms(), or keep links to app object or something else.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform