Cool,  makes the code a simpler...

Thanks!



From: "Dave Crozier" <[EMAIL PROTECTED]>
Reply-To: ProFox Email List <[email protected]>
To: "'ProFox Email List'" <[email protected]>
Subject: RE: VFP9: Forms Question
Date: Wed, 9 Aug 2006 22:30:12 +0100

This works with just one read.

***
* Start of Main Stub
Do <Main Form>
Read


In Main Form Init()
Do form <Password>

With ShowWindow=1 in Password Form and form set modal.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Desmond Lloyd
Sent: 09 August 2006 21:30
To: [email protected]
Subject: RE: VFP9: Forms Question

Thanks everyone,  two read events did the trick...




>From: "Tracy Pearson" <[EMAIL PROTECTED]>
>Reply-To: ProFox Email List <[email protected]>
>To: <[email protected]>
>Subject: RE: VFP9:  Forms Question
>Date: Wed, 9 Aug 2006 15:50:14 -0400
>
> > From: Desmond Lloyd
> > Sent: Wednesday, August 09, 2006 3:13 PM
> > Subject: VFP9: Forms Question
> >
> >
> > Am sure I am missing something very simple, nevetheless I'm stuck...
> >
> > OK,
> >
> > One form app, but in a project.  Startup code is setup a few
> > things and then
> > run the form.
> > Form is "as top level form", Modal, with read events issued
> > after the do
> > form.  Works great,  when exiting the app/form clear events
> > is called in the
> > destroy event.  All is well...
> >
> > Needed to password protect, created another form same
> > settings.  Have tried
> > calling it before the main form,  even in the init of the
> > main form.  The
> > password form flashes and then goes away, main form appears.
> > If I move the
> > main form out of the way there is the password form, if I
> > enter a password
> > the password form works properly.
> >
> > Suggestions/help.  Am I missing something...
> >
> > Many TIA,
> > Desmond
>
>
>Top-Level forms are not Modal.
>
>Either show the form, then the password form in it, or try with two Read
>Events.
>
>Tracy
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
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.

Reply via email to