Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate form if it is opened before
Message
De
08/09/2003 14:48:42
Tom Johnson
Plymouth Rock Technology, Inc.
Plymouth, Massachusetts, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00825696
Message ID:
00827219
Vues:
26
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
Fil
Voir

Click here to load this message in the networking platform