Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TYPE(), running executable
Message
From
14/04/1998 15:10:51
 
 
To
14/04/1998 15:05:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00091813
Message ID:
00091889
Views:
34
>Edward! Thank you for paying attention!
>The problem is simple. My knowledge is not good enough and I don't want to run second copy of the form which already exists and may be somewhere at the back of other form. May be I did not choose a right way but I don't see any other.
>Zaranee blagodaren. BAJI9I.

Your way is right:
if type("oApp.frmnew")="O" and not isnull(oApp.frmnew)
 oApp.frmnew.show()
else
 do form frmnew
endif
and this code shouldn't produce any loops. Obviously, there is something in frmnew.load or init event which starts the same form again and again.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform