General information
Category:
Menus & Menu designer
>>>Hello.
>>>I have difficulties with using PRMBAR() function.
>>>For example.. how can I get text of first menu item in system "VIEW" menu? PRMBAR("_MSM_VIEW",1) return "No such menu or menu item is defined" error..
>>>Thanks
>>>Denis
>>
>>
If you're really talking about system menus pad and bars it's not that easy and straight forward :
>>
>>? PRMBAR(GETPAD('_msysmenu', 3), GETBAR(GETPAD('_msysmenu', 3),1))
>>
>>To find 'view' menu is in third position you could loop through pads and check prmpad.
>>Cetin
>
>
Sorry missed a shorter one :
>? PRMBAR('_MSM_VIEW', GETBAR('_MSM_VIEW',1))
>Cetin
Thank you!
Previous
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