Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form persists
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form persists
Miscellaneous
Thread ID:
00423487
Message ID:
00423487
Views:
59
I have a form that I instantiate programmatically when the user clicks a command button and I cannot make it go away when I issue THISFORM.Release(). Why would that be?

The code to instantiate it is pretty much as follows (I have additional custom property assignments that I don't believe are relevant):

oMoverExternals=NEWOBJECT("frmparticipantsmover","osdforms")
WITH oMoverExternals
.Show()
.lstMoverSource1.SetFocus()
ENDW

I have tried it both with WindowState modal and modeless with no difference in behavior.

I have a command button on the form with "THISFORM.Release()" (no quotes) in the Click() method. Nothing happens when the Click() method is run: the form stays visible and active.

What am I missing?

TIA

Jim
Jim Wheelock
Next
Reply
Map
View

Click here to load this message in the networking platform