Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate form if it is opened before
Message
From
08/09/2003 14:48:42
Tom Johnson
Plymouth Rock Technology, Inc.
Plymouth, Massachusetts, United States
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00825696
Message ID:
00827219
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform