Hi Jeremy In fact, with this approach there’s not even any need for the invisible buttons - just associate the [Return] key with the visible default button and the script can decide whether to execute the query or the default “Accept” action.
Regards Peter > On 4 Dec 2019, at 09:40, Jeremy Roussak <j...@mac.com> wrote: > > Glad to have helped! FWIW, I don’t use invisible buttons; there’s no need. If > your form is sized relative to a bounding rectangle of some kind, you can > place the buttons outside that rectangle area and set their “Resizing > options" to "move". Makes them much easier to edit. Something like this: ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************