Oscar,
Thanks for spotting this!
Simply change the code to the following:
IF !EMPTY(This.cMenuPad) AND ;
TYPE("goApp.oMenu") == "O"
=EVAL("goApp.oMenu." + This.cMenuPad + ".Show()")
ENDIF
There is no need to check if the form is present at this level since the code is contained within an IF statement that checks IsFormHost.
I'll give you credit in next version of the "What's New" Guide.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com