Marvin,

>From http://www.pfcguide.com/faq/faq_apmn.asp#logon_closing -
"The logon window is closing by itself when the splash window is used."

This problem occurs when the splash and the logon windows are opened from
the same event. The workaround is to place them in different, posted,
events (pfc_open, pfc_postopen) or adding a Yield() between the logon and
the splash windows.

Let us know if that's not it, so we can make other suggestions.

Another related thing that we did was to put code in the Logon window's
OK/CANCEL buttons - so the user may "key ahead" and type in their password
and press enter without waiting (or so the user may "key ahead" and type
"Esc" to escape from the app if they changed their mind).

// Wait until the splash window has expired, and make sure it closes
if IsValid(w_splash) then
        n_cst_datetime lnv_datetime
        lnv_datetime.of_Wait (w_splash.inv_splashattrib.ii_secondsvisible)
        close(w_splash)
end if
parent.SetRedraw(TRUE)
Super::EVENT Clicked( )

Have fun,
~Sharon
--
Sharon Weinstrom Buntz      | mailto:[EMAIL PROTECTED]
Cheat Sheet for PFC/PB Help | http://www.pfccheatsheet.com/



Marvin Young wrote:
> 
> This is a minor annoyance that I can't bring myself to track down completely.  If 
>anyone else has come up with a solution, I'd appreciate a tip.
> 
> I've been trying to use both the splash window and a login window during startup.  I 
>don't open my main window until after the splash and logon are finished.  
>Unfortunately, when the splash window times out, both the splash and the login 
>windows close.  If the user isn't paying close attention, they never get a chance to 
>log in!
> 
> Does anyone know why this happens?  Does the logon window consider the splash as 
>it's "parent?"  Is there a way to prevent this?
> 
> Thanks for any light you can shed,
> 
> Marvin Young
> Washington State Department of Fish and Wildlife
> [EMAIL PROTECTED]
> (360) 902-2508
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to