Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRMBAR()
Message
From
28/08/2000 09:16:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/08/2000 08:55:10
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00409747
Message ID:
00409751
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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform