>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.