Hi team, In my application users can navigate through multi-row panels by clicking on icons that call the api_datasource.nextRow and previousRow procedures. When they click on the icon "down" in the last row, automatically a new row is initialized. During that initialization the key, foreign keys and default values are being set. So very important. They can, however, also navigate through the rows by pressing the down and up arrow on their keyboard. Now i want to implement the same behaviour as clicking the next-row icon. So, when they press the down arrow while being in the last row, a new row must be initialized. How can i catch the events when they press the down and up arrows? I have tried keyCombination="DOWN", "ARROW DOWN" and "ARROWDOWN" but that does not work.... |
Hi Jan Willem, The keyCombination has to be "DOWN" as in the following example. I tried and it is working. However, the focus has to be on one of the components of the panel in order the key events to be fired.
Kind Regards, Hi Serdar, i have tried it this way and also as an key-event in the mainFrame. Both do not work. It only works when i add it to the events within the GRID. However, then the focus is always lost after navigating to the next row. Kind regards, Jan Willem
(03 Oct '17, 09:29)
Jan Willem V...
|