General information
Category:
The Mere Mortals Framework
Title:
AllowMultipleInstances for Forms giving an error!
Greetings!
I have a cBizObjForm where I set the allowmulitpleinstances to FALSE to keep the user from shooting themselves in the foot. The framework catches the attempt to start subsequent instances, however, I receive this error when I click on the OK button of the message box:
Function argument value, type or count is invalid
Method: Scan
Object: MyApp.oforms
Here's the code that is happens on (the 'llFound =' line):
FOR lnRow = lnStart TO lnEnd STEP tnDirection
IF llCompareProperty
*---------------------------------------------------
*-- Look for either class name, object name, or both
*---------------------------------------------------
IF EMPTY(tcProperty) OR tcProperty = "CLASS"
----->>>>>>>>> llFound = UPPER(this.aChildren[lnRow, CHILD_CLASS]) == tuParm1
ENDIF
I've tried to trap the error and VFP 8 just throws up all over me and then throws me out to boot! VFP terminates!
Not sure what is causing this, but I just did a quick test for ALL the forms in this app that are set this way and I get the same error.
Any ideas?
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