Information générale
Catégorie:
The Mere Mortals Framework
Jason,
GOOD MEMORY!!!!!! Yes, I disabled the toolbars on this particular project.
Made me go check another project that uses the toolbars...no problem with that application. Message comes up and when I press OK the message dialog goes away and I get returned to the first copy of the form. Life is good in that App!
It's just when the toolbars are disabled...you on to something here?
Scott
>Scott,
>
>Are you saying that you only get this error when you click OK on the form that tells you the form cannot be instantiated more than once at a time?
>
>Also, did you remove your main toolbar? I seem to remember you mentioning this in a previous thread? Is this the same project?
>
>---J
>
>>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?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement