PrJlndni
Member
Good day Masters,
I would like to ask your expertise on MENU and SUB-MENU Widgets.
I have a menu-item in my sub-menu that I do not want to show in my menu.
I am using OpenEdge 11.8 and running it via Putty.
I am currently working on the following:
[]
My problem here is this:
Upon compiling, it doesn't have an error, but then when I run it in putty this error appears:
**VISIBLE is not a setable attribute for MENU-ITEM archive. (4052)
According to knowledgebase notes, VISIBLE Attributes can be used in menu widgets. Please help.
Thank you so much in advance Masters.
Regards,
PrJlndni
I would like to ask your expertise on MENU and SUB-MENU Widgets.
I have a menu-item in my sub-menu that I do not want to show in my menu.
I am using OpenEdge 11.8 and running it via Putty.
I am currently working on the following:
[]
Code:
DEFINE SUB-Menu maint000
Menu-ITEM online LABEL "O&n-line dBase "
Menu-ITEM offline LABEL "O&ff-line dBASE"
Menu-ITEM archive LABEL "Archive Data "
MENU-ITEM m_Search LABEL "Search " ACCELERATOR "PF3".
DEFINE Menu m_mainMenu MenuBAR DCOLOR 3
SUB-Menu maint000 LABEL " &MAINTENANCE "
Menu-ITEM Menu-exit LABEL " E&XIT ".
MENU-ITEM m_Search:VISIBLE = false.
Menu-ITEM online:SENSITIVE = YES.
CURRENT-WINDOW:MenuBAR = Menu m_mainMenu:HANDLE.
CURRENT-WINDOW:VISIBLE = TRUE.
CURRENT-WINDOW:SENSITIVE = TRUE.
ON CHOOSE OF MENU-ITEM m_Search IN MENU maint000 MESSAGE 1 VIEW-AS ALERT-BOX.
My problem here is this:
Code:
MENU-ITEM m_Search:VISIBLE = false.
Upon compiling, it doesn't have an error, but then when I run it in putty this error appears:
**VISIBLE is not a setable attribute for MENU-ITEM archive. (4052)
According to knowledgebase notes, VISIBLE Attributes can be used in menu widgets. Please help.
Thank you so much in advance Masters.
Regards,
PrJlndni