>>>I've found if I create a menu from scratch and run it then use the PRMBAR function it works fine. It's only when trying to use it on the default system menus does it give me a problem. However, the documentation says that PRMBAR works with the VFP system menus.
Menus give me a headache. BTW, the reason I was trying to use PRMBAR is because the 16th option on the File menu is the last project opened. It contains the full path to the project.
>>
>>If you want get the curent openned project(s), this is not the
>>better way to do.
>>
>>This menu contain only the 'Last openned' projects, not the current
>>or the new project until you close VFP.
>>
>>To get the name of the currently open project you should look at the 'windows'
>>menu, but there is no path in there...
>>
>>:)
>
>Well, regardless of which menu I use, I can't get PRMBAR to work.
Prmbar() does not work for me to.
Try this instead:
? GETPAD('_MFILE',17)
? GETPAD('_MWINDOW',11)
HTH :)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca