Shortcut menus (VFP9SP2)

Author: Michael J. Babcock, MCP

Posted: 2011-04-26 at 13:42:24

I don't use shortcut menus much but am trying to now. I've got a

scenario where I want to right-click on the form and launch a shortcut

menu to offer a couple choices to the user (one of which is for that

changing of font sizes that I mentioned in an earlier thread).

I designed the shortcut menu in VFP's IDE. In my base form class, I put

this code in the RightClick event: DO config_help.mpr WITH this

I've checked out VFP Help and noticed that the SampleMenu.MPR file has a

parameter statement in it. However, when I generate the menu, it

doesn't put a PARAMETER statement in. So I added it to the MPR code,

but when I run the app, it errors and says NO PARAMETER STATEMENT FOUND

and then when I step into the code, it says Source out of date. So I

feel like it's a chicken-or-egg first scenario here.

Any help understanding how to get the Menu Designer to put that

PARAMETER statement in would be appreciated.

Tia,

--Mike

--

Michael J. Babcock, MCP

Chief Software Architect

MB Software Solutions, LLC

http://www.mbsoftwaresolutions.com

p: 717-350-2759

f: 815-642-9707

_______________________________________________

Post Messages to: ProFox@leafe.com

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/4DB70400.5070905@mbsoftwaresolutions.com

** 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.

©2011 Michael J. Babcock, MCP