Your error is caused by the second parameter statement. I don't use MPR's so I'm not sure how to keep oFormRef available when the bar is selected. Is there a public object created, or some reference added to _SCREEN some how?
HTH, Tracy -----Original Message----- From: Jerry Foote Sent: Sunday, April 05, 2009 6:59 PM In VFP 9.0 I set a menu as top level and edited the setup to include the statement. parameters calling_form In my init I call do menubars.mpr with thisform When the exe runs I get the error unrecognized command verb with the parameters calling_form highlighted.. I see code above that with LPARAMETERS oFormRef, getMenuName, lUniquePopups, parm4, parm5, parm6, parm7, parm8, parm9 LOCAL cMenuName, nTotPops, a_menupops, cTypeParm2, cSaveFormName I assume fox puts this in but I'm not sure how to use it. I want to call routines in the calling form from the menu bars, I remember using 'calling_form.dosomething' I tired oFormRef.dosomething but that did not work.. calling_form.dosomething does not work.. How do I get a reference in the menu to call a method on the form Thanks Jerry _______________________________________________ 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/000401c9b6c6$eec2e660$cc48b3...@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.

