Information générale
Catégorie:
Gestionnaire de menu & Menus
Yes, a .F. on a simple load does keep the form from instantiating. When I put the following code into the Load event, the Return .f. gets executed but the form continues on to the INIT.
I will try and isolate the behavior and post a followup, as this is an interesting behavior.
Thanks,
Tom Johnson
IF this.singleinstance
FOR x=1 TO _screen.formcount
IF _screen.forms(x).name==this.Name
nFormCount=nFormCount+1
ENDIF
IF nFormCount>1
_screen.forms(x).show()
RETURN .f.
ENDIF
NEXT
ENDIF
Précédent
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