Re: Trapping the 'return' key in list forms

2019-11-30 Thread Jeremy Roussak via 4D_Tech
Peter, If your button, with shortcut Return, does not have the “focusable” property checked, calling OBJECT Get pointer(Object with focus) in its script will return the object the cursor was in when the return key was pressed. Jeremy > On 30 Nov 2019, at 21:58, Peter Jakobsson via 4D_Tech

Re: Trapping the 'return' key in list forms

2019-11-30 Thread Peter Jakobsson via 4D_Tech
Thanks for that input Chip. However I don’t see how this can work. How can the invisible button script know which field the cursor was in last ? (Or which object last had the focus prior to its own script being executed ?) Regards Peter > On 29 Nov 2019, at 22:13, Chip Scheide