Hi Wayne,

> On Nov 8, 2016, at 6:08 PM, Wayne Stewart <[email protected]> wrote:
> 
> Have you tried OBJECT Get name(Object with focus)
> 
> This should do what you want, well it did in my limited tests.

It has the same problem as OBJECT Get pointer(Object with focus). In the form 
method, the value it returns in the On Clicked event is not necessarily the one 
the user actually clicked on. Example: A boolean field has focus and the user 
clicks on a non-focusable button. The function returns the field's object name 
even though the user clicked on the button.

Thanks for the idea,

John DeSoi, Ph.D.

**********************************************************************
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]
**********************************************************************

Reply via email to