Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to put a name in the bar# of the prompt options
Message
From
14/11/2006 10:33:31
 
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
01169469
Message ID:
01169476
Views:
8
>>I am trying to name the bars of a menu system but keep getting the error "Variable not found". I am using the prompt options and most (not all) of the bars that I have named give an error when i run the mpr.
>>
>>Any ideas?
>>
>>thanks, jeffrey
>
>Would help if you posted the code snippet.

This is a large menu so I've just posted the menu definition down to where the error occurs:

the a1 is where i get the variable not found.


* *********************************************************
* *
* * Menu Definition
* *
* *********************************************************
*

SET SYSMENU TO
SET SYSMENU AUTOMATIC

DEFINE PAD Client OF _MSYSMENU PROMPT "Client Select" COLOR SCHEME 3 ;
KEY ALT+C, ""
DEFINE PAD iasmain OF _MSYSMENU PROMPT "IAS Main Menu" COLOR SCHEME 3 ;
KEY ALT+I, ""
DEFINE PAD utl OF _MSYSMENU PROMPT "UTL Menu" COLOR SCHEME 3 ;
KEY ALT+U, ""
DEFINE PAD _msm_edit OF _MSYSMENU PROMPT "\ KEY ALT+E, "ALT+E" ;
MESSAGE "Edits text or current selection"
DEFINE PAD exit OF _MSYSMENU PROMPT "E\ KEY ALT+X, ""
ON PAD Client OF _MSYSMENU ACTIVATE POPUP clientsele
ON PAD iasmain OF _MSYSMENU ACTIVATE POPUP iasmainmen
ON PAD utl OF _MSYSMENU ACTIVATE POPUP utlmenu
ON PAD _msm_edit OF _MSYSMENU ACTIVATE POPUP edit
ON SELECTION PAD exit OF _MSYSMENU exit

DEFINE POPUP clientsele MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR a1 OF clientsele PROMPT "First Prompt"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform