Hello,
I have a browse with all plantnames. If I doubleclick on a row a new window is opened that shows all the details of that plant. On this window I have two buttons to go to the previous row or the next row.
Now i want to do this by clicking on the keyboard with the go-left or go-right button. Is this possible? So can I link a function to a key on the keyboard?
defining a key to a function
- plantenkennis
- Posts: 166
- Joined: Wed Nov 25, 2015 7:13 pm
- Location: the Netherlands
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42556
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 80 times
- Contact:
Re: defining a key to a function
René,
Pease try this:
oBrowse:bKeyDown = { | nKey | MsgInfo( nKey ) }
and check if GoLeft and GoRight keys get trapped with that
Pease try this:
oBrowse:bKeyDown = { | nKey | MsgInfo( nKey ) }
and check if GoLeft and GoRight keys get trapped with that
- plantenkennis
- Posts: 166
- Joined: Wed Nov 25, 2015 7:13 pm
- Location: the Netherlands
- Contact:
Re: defining a key to a function
Hello Antonio,
Thanks, that works. The GoLeft has number 63234 and the GoRight has 63235. I use the bKeyDown on a window instead of a browse. The window that is opened has seven tabs and on 4 of them there are browses. It also works on Get's
Thanks, that works. The GoLeft has number 63234 and the GoRight has 63235. I use the bKeyDown on a window instead of a browse. The window that is opened has seven tabs and on 4 of them there are browses. It also works on Get's
Kind regards,
René Koot
René Koot