I haven't ready any of the other posts but this is what I did...
In main.prg
set some things
do form get_pass
readevents
*** in the destory method of the form clear events
check the value of the password
if correct
do the main form
read events
else
return
endif
So yes there can only be one readevents in effect at a time, this just
stacks them up. I like it because to the user they are presented with a
series of "free floating" windows...
From: "Hal Kaplan" <[EMAIL PROTECTED]>
Reply-To: ProFox Email List <profox@leafe.com>
To: "ProFox Email List" <profox@leafe.com>
Subject: RE: VFP9: Forms Question
Date: Wed, 9 Aug 2006 16:51:37 -0400
=> -----Original Message-----
=> From: [EMAIL PROTECTED]
=> [mailto:[EMAIL PROTECTED] On Behalf Of Desmond Lloyd
=> Sent: Wednesday, August 09, 2006 16:30
=> To: profox@leafe.com
=> Subject: RE: VFP9: Forms Question
=>
=> Thanks everyone, two read events did the trick...
=>
It's no secret that I am dense, so could someone please explain this "two
read events" business to me in simple language? I thought you could only
have one Read Events at any time. I always have problems like this. Are
you saying to...
Show Main Top Level Form
Show Password Form in TLF (should be modal)
Read Events to get Password
Clear Events and destroy password form
Read Events on the TLF.
Give me some slack with my newly-designed pseudo code. If this is not it,
then please explain. Offline is fine <[EMAIL PROTECTED]>.
Thanks.
HALinNY
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.