Hi John, I would use:
C_POINTER($self) $self:=OBJECT Get pointer(Object current) I just did a quick test in v15.2 using a Boolean field on a form that had focus then clicking on a button that is not focusable. I am not getting Nil, in fact I get a pointer to the object as expected. When clicking on the Button and checking "OBJECT Get pointer(Object current)" I get a pointer to the button (->Button). When clicking on the Boolean Field and checking "OBJECT Get pointer(Object current)" I get a pointer to the Boolean Field (->[Table_1]Field_2). Note: The object's form event code should be attached to the object, not the form. -Tim ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

