Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop up

Status
Not open for further replies.

ChrisAgius

Programmer
Sep 27, 2000
51
MT
Can Anyone send me some information or codes(classes...etc) about how to produce a system menu at the middle of the screen. (System Defined Menu)...

OR

How to Produce a button with a popup menu attached with it

THanks Guys [sig][/sig]
 
Hi Chris,

In the FFC(FoxPro Foundation Classes), there is a classlibrary named _Menu.vcx with a _ShortCutMenu class.

There is also an example form illustrating how to implement the class named NewMenu.scx. It should be found in the Samples\Solution\FFC subdirectory. [sig]<p>Jon Hawkins<br><a href=mailto: jonscott8@yahoo.com> jonscott8@yahoo.com</a><br><a href= > </a><br>Focus on the solution....Not the problem.[/sig]
 
Well the only way I know is create the menu from the menu generator , after create the menu, run it with this code:

**code in main program
DO Mymenu.mpr
READ Events

I had tried with menus inside a FROM but really doesn’t work
well, if you want, you can try run it from the INI property of some FORM

[sig][/sig]
 
javeirp, menu Generl Options contain nice checkbox that need to be checked to run .mpr menu in the top-level form. [sig]<p>Vlad Grynchyshyn<br><a href=mailto:vgryn@softserve.lviv.ua>vgryn@softserve.lviv.ua</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top