>>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