I am using Servoy 5.2.11.
I have forms that are nested 2 levels deep in tabpanels. On all of these forms I have a find button that puts the form in find mode. I also have an OK button that performs the controller.search() as well as some UI stuff. When I hit the OK button everything works fine. I want it so that when the user hits the return key on the keyboard, that too will call my search method. I have tried attaching that search method to the form's onSearch event, but strangely that doesn't always work. On some forms it calls my search method. On others, it just performs the search without calling my method. I've compared the forms and their search methods and I see nothing that explains this difference in behavior.
I do have "controller.search()" in my search method. I know that is a requirement in order for Servoy to call your method while in find mode. That doesn't seem to be helping. Does anyone know how I can get Servoy to call my method when I hit return? Thanks.