Jeff,
Sorry about this. Could explain what do you meant by " opject reference is still set to null."? Does it meant you failed to refer to this object, or ...? What are you trying to do with this?
About your second question, Do you meant you need your form to be maximized (as full screen rather than floating) after user minimize and then ask for maximise the form interactively by click the min and max button?
If so, you may need to have an property in your form to take care of this. In the form.RESIZE event, put this:
WITH THIS
IF .lMinimized
.WINDOWSTATE = 2
.lMinimized = .F.
ENDIF
IF .WINDOWSTATE = 1
.lMinimized = .T.
ENDIF
ENDWITH
Hope it helps
Thanks
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...