PMFJI, .zOrder() always returns .T., it may return .F. in some situation I'm not aware of though.
Put
? this.zOrder()
in a button click and see what happens.
hth
>I understand that it is a method. It's just confusing that my logical statement is executed when I 'inquire' about it's 'state' (even though as a method there is no 'state' per se).
>
>>>Thanks, I should have thought of that. I'm still wondering why my If statement caused the ZOrder to change. That doesn't make any sense that a logical decision statement would cause that to happen.
>>
>>ZOrder() isn't a property or a logical descion, its a method that changes an objects ZOrder to either the front or back. Does it make anymore sense? :-)
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!