Sorry Rafael - wee seem to be at cross-purposes (my fault!) but thanks for the 
reply ....

----- Original Message -----
From: "Rafael Copquin" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: 24 November 2008 09:54:47 o'clock (GMT) Europe/London
Subject: Re: Menu pads, popups and bars

Hi Paul

You don't need a third party tool to do that. You can do it yourself  (as I 
do) with this code:

1) in your VFP options menu, under the file locations tab, go to the startup 
program option and search the VFP path, usually in program files\visual 
foxpro 9:

add a backslash and 'mystart.prg'

2) in the above location write a prg (mystart.prg) with code like this:


define pad mystuff of _msysmenu prompt "My stuff"
on pad mystuff of _msysmenu activate popup mythings
define popup mythings margin relative
define bar 1 of mythings prompt "My projects"
Define Bar 2 of mythings prompt "\-"
define bar 3 of mythings prompt "Use the gofish app"
define bar 4 of mythings prompt "Use the Eview.app"
define bar 5 of mythings prompt "Set help on"
define bar 6 of mythings prompt "Which path I am in"
define bar 7 of mythings prompt "Toolbox"

on selection bar 1 of mythings do form c:\vfp\projects
on selection bar 3 of mythings do gofish.app
on selection bar 4 of mythings do eview.app
on selection bar 5 of mythings set help on
on selection bar 6 of mythings display status
on selection bar 7 of mythings do (_toolbox)
on selection bar 10 of mythings do err

With the above little program every time you start VFP a new pad appears on 
the far right of the system menu, with all the above options

BTW, we oldies used the above code to produce custom menus in FPD, without 
using the then cumbersome menu generator. VFP menu generator makes it 
unnecessary to use the manual code above, but it occasionally helps to know 
how it works, and we can use as in this case.


Hope it helps
Rafael Copquin


----- Original Message ----- 
From: "Paul Newton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 23, 2008 10:34 PM
Subject: Menu pads, popups and bars


> Hi
>
> I have a third-party tool/add-in for VFP which adds a menu pad (together
> with associated popup and bars) to the system menu.
>
> I would like to add a couple of additional bars to this popup but I
> cannot see how I can (programatically) determine the popup name to which
> I need to refer in order to add the new bars ..  any suggestions
>
> Many thanks
>
> Paul Newton
>
>



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to