Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem With DO FORM
Message
 
 
To
24/06/1998 18:59:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00111406
Message ID:
00111595
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform