Then I don't know. Maybe you meant SYS(1270), but it's different thing. Anyway ActiveControl is good enough.
>Nooo...not SYS(18)....there's another one I believe.
>
>>>
>>>I'm away from my VFP references now, but isn't there a SYS() function that returns the current, active object?
>>>
>>>
>>>>
>>>>Look at Pageframe.ActivePage and Page.ActiveControl properties
>>
>>SYS(18)- "Included for backward compatibility. Use the ActiveControl property instead."
Edward Pikman
Independent Consultant