Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to 'THISFORM' reference in menu code?
Message
From
26/06/2002 02:41:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/06/2002 14:01:52
Chris Laffoon
Florists' Interlink, Inc.
Paragould, Arkansas, United States
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00672117
Message ID:
00672335
Views:
8
>In designing a shortcut menu for a form, the reference 'THISFORM' is not allowed. I'm wondering is there a way to reference methods and properties on the form that was active at the time the shortcut menu was called?
>
>Thanks,
>Chris

Chris,
You might use activeform or pass the caller object (or its form) as a parameter to your shortcut menu. ie:

do myshortcut.mpr with this

*myshortcut.mpr
lparameters toCaller
...
toCaller.SomeProperty = SomeValue
....

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform