Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem With DO FORM
Message
 
 
À
24/06/1998 18:59:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00111406
Message ID:
00111595
Vues:
17
Trish,

When you run the form from the command window you automatically get a public scoped memvar named sendconfirm, you don't get that when you are running from code. Another way of coding it would be to use _screen.ActiveForm.Method() as the program to run in the popup code you have defined.

>I open a form with DO FORM sendconfirm
>
>I have a shortcut menu that can be accesses with a right mouse click. When the user accesses the popup and selects and option it should call a method in the form (sendconfirm.removefax). It works fine in the development environment running straight from the screen.
>
>If I run it was the main program or app, it says that sendconfirm is not available. I look in the debugger and the reference to the object is unavailable.
>
>Is there a way around this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform