>>>How to chk whether _Screen Or Form ?? All properties are same... How i can chk that passed object is screen or form ??
>>>
>>>TIA...
>>The _SCREEN.Name = "Screen"
>
>Pls note that this will normally work, but the problem is it can be changed by user..
>
>Is there any other way ??
In VFP6, you can compare object eferences to see if they are the same object:
IF toObject = _SCREEN
Erik Moore
Clientelligence