Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRMBAR()
Message
From
28/08/2000 09:24:34
 
 
To
28/08/2000 09:20:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00409747
Message ID:
00409756
Views:
16
>>>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
Map
View

Click here to load this message in the networking platform