General information
Category:
Menus & Menu designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only