Should not the first form be modal?
Jerry

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Fred Taylor
Sent: Tuesday, April 29, 2014 6:33 PM
To: ProFox Email List
Subject: Re: VFP6: Form Woes

There is only one level of READ EVENTS.  If there's already a READ EVENTS
in progress, a 2nd READ EVENTS is ignored, so your CLEAR EVENTS is going
back to your first one.

Fred


On Tue, Apr 29, 2014 at 4:29 PM, Desmond Lloyd
<[email protected]>wrote:

> Good Evening...
>
> This is probably a throwback for everyone,  and am sure someone can make a
> suggestion...
>
>
> Have this old application with a big do while ..t routine,  define some
> windows,  write says and gets (yes that old)  read with some defined
> buttons.  All is good...
>
> Created a form which I call from one of the buttons,  with the following
> code.
>
> do form myform1  (myform1 is modeless and in screen)
> read events
>
> there is a clear events in the release of myform1
>
> All is good,  form comes up click on the quit button and it returns to the
> original display...
>
>
> The problem is that  I created another form,  myform2  This is called from
> a button on myform1
> myform2  top form,  modal
> myform2 is displayed just fine,  but when I exit the form it is returning
> to the read events in the "main program".
>
> Created a test form with one button and it works just fine,  returning to
> myform1.  Have checked the methods in myform2 and there are no clear
> events,  if I step through the code in myform1 run myform2 button which
is;
>
> do myform2
> set step on
> thisform.refresh()
>
> it get to the refresh and I am dumped back to the read events...
>
> I hope that makes sense,
> Suggestions?
> TIa,
> Desmond
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/F1D4DE23980B41E7887A8CB37AD89EC5@jerryfootePC
** 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