Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling code
Message
From
13/11/1998 08:50:17
 
 
To
12/11/1998 20:02:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00156775
Message ID:
00157363
Views:
28
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform