Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRMBAR()
Message
De
28/08/2000 09:24:34
 
 
À
28/08/2000 09:20:27
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00409747
Message ID:
00409756
Vues:
17
>>>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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform