Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternative to 'THISFORM' reference in menu code?
Message
De
26/06/2002 02:41:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/06/2002 14:01:52
Chris Laffoon
Florists' Interlink, Inc.
Paragould, Arkansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00672117
Message ID:
00672335
Vues:
7
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform