Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcutmenu
Message
De
15/05/2016 03:20:21
 
 
À
15/05/2016 03:08:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Application:
Desktop
Divers
Thread ID:
01636289
Message ID:
01636386
Vues:
53
>
>Antonio,
>
>Wow, how difficult can this be??
>Now erroring: ToForm is not an object ;(
>
>suppose I must work with the pubic variables, which worked. ;((
>
>regards,
>
>Koen

If VFP is complaining on toForm not being an object, then the problem is in the way you're calling the menu.

It must be:
DO the-name-of-the-menu.mpr WITH Thisform
if inside a method/event code of the form or one of its objects, or with an explicit reference to the form in other cases.

Otherwise, toForm is an .F., as any other unused but declared parameter.
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform