Hello Tracy,

You are GOOD !!!  Thanks for the clues.

This form was working Friday afternoon. I made a few changes and It quit
working.

This is how it looked on Friday
oForm = createobject('modalform')
oForm.Show(1)


Here is what I did over the weekend

oForm = createobject('modalform')
with oForm
       .Prop1 = lnProp1
       .Prop2 = lnProp2
      .Show(1)
Endwith

The problem is the .Show(1) inside the with/endwith

When I move it after the endwith, everything works fine

oForm = createobject('modalform')
with oForm
       .Prop1 = lnProp1
       .Prop2 = lnProp2
Endwith
oForm.Show(1)

Thanks again for your help,
Kent


-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Tracy Pearson
Sent: Monday, June 03, 2013 12:21 PM
To: [email protected]
Subject: RE: Monday morning blues ...

Kent Belan wrote on 2013-06-03: 
>  Hello Tracy,
>  
>  Yes, the form starts up fine and the quit button does get focus.
>  
>  I debugged it and it does go to the release method and then to the  
> destroy method And then the debugger goes back to the calling program  
> on the .show(1) line But the form is still there and I can click on it  
> and it is active again.
>  
>  The quit button click() method just has thisform.release()
>  
>  Very weird as this was working fine Friday afternoon
> 

Kent,

It behaves like you have a reference to one of the objects contained on the
form elsewhere. 
Is one of the variables you are setting when releasing the form (or before)
an object value?

Tracy Pearson
PowerChurch Software


[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/[email protected]
** 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