Eric-
>I have a created a shortcut menu when a user right clicks on a form. Everything works fine until the user right clicks again on the form with the first menu still there. I get all kinds of error messages that the shortcut menu already exists. Is there some code to avoid this from happening...thanks
I just tried a simple form and a call in the rightClick to do a pop menu. The menu is:
DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR 1 OF shortcut PROMPT "Say Hi!"
DEFINE BAR 2 OF shortcut PROMPT "Say Bye!"
ON SELECTION BAR 1 OF shortcut messagebox('Hi!')
ON SELECTION BAR 2 OF shortcut messagebox('Bye!')
ACTIVATE POPUP shortcut
When I right click on the form and then right click elsewhere on the form I have no trouble. The menu closes where it was and reopens elsewhere.
Without knowing more about your menu, the errors, where they occur, or how you call the menu, it's hard to know what's up. It might help to know what version of vfp you're using with build number.
Have you set a breakpoint on the call to the menu and tried stepping into the menu? What is the exact error message that you get? What line causes it?
.Signature
{
margin-top: 12px;
color: #666666;
}
.Signature a
{
color: #666666;
}