Hi Cetin,
I think you meant ! ISNULL(.oCaller) or NOT ISNULL(.oCaller)
>>Sorry but it took me quite a while programming in foxpro again. I'm working with two maximized forms. I have a button in form1 with do form2. In form2 I have another button that releases it. So, how can I go back again to form1?
>
>* button1
>do form2 with thisform
>
>*form2.init
>lparameters oCaller
>this.addproperty("oCaller",m.oCaller)
>
>*form2 button
>with thisform
>if type(".oCaller") = "O" and ;
> Isnull(.oCaller) and ;
> lower(.oCaller.Baseclass) == "form"
> .oCaller.Show()
>endif
>.release()
>endwith
>
Cetin
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"