Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I don't understand what is the 'Application Object'??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00181899
Message ID:
00181935
Vues:
9
>>>I understand the concept of the application object. However, I need to set the autoyield property of my application, and don't quite know how to do it. The same says: ThisApplication.Autoyield=.f. ---What is 'ThisApplication'? I know this is probably a very obvious question. Thanks for any help.
>>>Marcus.
>>
>>You can address the application object properties from the form like this:
>>
>>thisform.application.autoyield
>>
>>Nick
>Thanks Nick,
>What I didn't understand is the 'application' part. I don't actually type 'application' right? Will _vfp or _screen or something like that work? Of course, I've responded before trying that line of code, so perhaps that is the answer. Thanks again.
>Marcus.

No,
thisform.application.autoyield
or
_screen.activeform.application.autoyield

is an exact syntax. You can try it in Watch window.
Form.Application property is not in the list of form properties if you look at them in the Watch window, but it shows up as Object type property if you explicitly type the referenso to it there.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform