Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modeless Forms and Blocking
Message
From
23/04/1999 11:55:18
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
22/04/1999 14:45:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00211234
Message ID:
00211557
Views:
20
>We have a PRG that is running (not an OO app or anything, unfortunately), and we want to juice it up a bit so that a splash screen comes up while some setup is going on in the background.
>
>The wrinkle is this: the splash screen morphs into a login screen, so once the setup code in the PRG has completed running in the main PRG, we want to halt execution of the PRG until the login form is filled out.
>
>The problem is that I can't figure out a way to halt processing of the calling PRG until its modeless form has completed without also blocking input to the modeless form (i.e., WAIT WINDOW or INKEY in a loop).
>
>Is there a good source for how to program such a beast?

Put your .prg into a method of the login screen, and at the moment it goes into the morph, simply call the ThisForm.MorphJekyl2Hyde method, and when it gets over with it, proceed with that method, or put the rest in the queryunload or destroy of the splash. If it should run interacting with the splash screen, I think it's easier to do it all within the splash itself.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform