Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command contains unrecongnized phrase/keyword
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Command contains unrecongnized phrase/keyword
Miscellaneous
Thread ID:
00657269
Message ID:
00657269
Views:
66
Hi,

I keep getting a [Command contains unrecongnized phrase/keyword] when I try to put the following code into the rightclick event of a text box, it got stuck on the all of the define bar.... when I remove the word prompt and the content, it compile ok but it would be meaningless.
When I run in a prg, it was fine. So can anyone tell me what's going on.

ACTIVATE SCREEN
DEACTIVATE POPUP popMyPopup
DEFINE POPUP popMyPopup FROM MROW(),MCOL() MARGIN RELATIVE SHORTCUT
DEFINE BAR 1 OF popMyPopup PROMPT [1st Call]
DEFINE BAR 2 OF popMyPopup PROMPT [2nd Call]
DEFINE BAR 3 OF popMyPopup PROMPT [3rd Call]
DEFINE BAR 10 OF popMyPopup
ON SELECTION POPUP popMyPopup DEACTIVATE POPUP popMyPopup
ACTIVATE POPUP popMyPopup
RELEASE POPUP popMyPopup
DO CASE
CASE BAR() = 1
This.Value = "1st Call"
CASE BAR() = 2
This.Value = "2nd Call"
CASE BAR() = 3
This.Value = "3rd Call"
ENDCASE



Tony
Next
Reply
Map
View

Click here to load this message in the networking platform