onEnterKey

Is there something like “onEnterKey” as a form property? I mean, a way to accomplish the same thing.

I have a find screen in a form-in-dialog (with global fields), and keep wanting to hit the Enter key instead of the Continue button I put on the form. If I do onRecordSave, then the find executes if the Enter key is pressed… but also if someone just clicks outside the fields. Ideally, the find executes if the Continue button is pressed (property of button) or if the Enter key is pressed (property of form), and not otherwise.

Thanks,

Jim Schliestett

Hi Jim,

Why not also put the method which is attached to the continue button as as onAction event for each of the global fields in the FID ?

Yuletide Felicitations !
Harry

Thanks Harry!

:oops: did not know onAction behaved that way in a find :oops:

Merry Xmas, and Ho-cubed!

Jim