VFP6: Form Woes

Author: Desmond Lloyd

Posted: 2014-04-29 at 18:29:54

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

---

_______________________________________________

Post Messages to: ProFox@leafe.com

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/CAAJXvaOmAJu830EwMLG7NBxzDdt4=3X6xefHeWzjEJbaRZCJ0w@mail.gmail.com

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

©2014 Desmond Lloyd