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