General information
Category:
The Mere Mortals Framework
Title:
Bug on BizObj:uiInit
If your business object is contained by form and your form uses the property cMenuPad in order to show a menu pad of its own, the next piece of code will be executed
IF !EMPTY(This.cMenuPad) AND ;
llFormIsPresent AND ;
TYPE("goApp.oMenu") == "O"
=EVAL("goApp.oMenu." + This.cMenuPad + ".Show()")
ENDIF
However, the "llFormIsPresent" variable is not declared or has any assigned value.
Probably, the first IF statement should be replaced with:
llFormIsPresent = This.IsFormHost()
And test this variable before registering the business object.
If somebody already has a fix for this, please let me know it.
Thanks in advance and Regards.
Oscar
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only