Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing to open a form twice or more ...
Message
 
To
31/08/2000 10:56:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00411292
Message ID:
00411317
Views:
10
local lnCnt, lcFormName, llFlag
for lnCnt = 1 to _screen.formcount
   if _screen.forms(lnCnt).name == lcFormName
       llFlag = .T.
   endif
endfor

if !llFlag
   do form myform
else
   wait window "You cain't have Two dummy! :)"
endif
HTH
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform