There is no way to point a key to an event. The Delphi forms have a KeyPreview property that when set to TRUE, will intercept every keypress into the message loop, where you will test for Which key was pressed and map to a procedure or function at your discretion.
Currently, RBTI forms do not have this property. Here is a link to a Delphi Code Example that shows how it might be implemented in RBase: http://docwiki.embarcadero.com/CodeExamples/XE6/en/KeyPreviewProperty_(Delph i) > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Javier > Valencia > Sent: Tuesday, August 05, 2014 4:01 PM > To: RBASE-L Mailing List > Subject: [RBASE-L] - RE: How to trap function keys in a form > > You can try playing with the SET KEYMAP command but I am not sure it > will do what you want. > > Javier, > > Javier Valencia, PE > O: 913-829-0888 > H: 913-397-9605 > C: 913-915-3137 > > From: [email protected] [mailto:[email protected]] On Behalf Of rehan > wyne > Sent: Tuesday, August 05, 2014 2:20 PM > To: RBASE-L Mailing List > Subject: [RBASE-L] - RE: How to trap function keys in a form > > Using Buttons will be the easiest way, Lets wait for any knowledgeable > solution from someone. > > Rehan Wyne > > On Wednesday, August 6, 2014 12:01 AM, Dennis McGrath > <[email protected]> wrote: > > I may be wrong, but I think you will wind up chasing your tail on this > one. > > I would recommend using buttons to give the user the functionality that > you want. > > Dennis McGrath > > From: [email protected] [mailto:[email protected]] On Behalf Of rehan > wyne > Sent: Tuesday, August 05, 2014 1:06 PM > To: RBASE-L Mailing List > Subject: [RBASE-L] - How to trap function keys in a form > > > Can anyone help, how to trap function keys like F1,F2,F3,... in a form? > My basic idea is to run a user defined form action or call another form > when a application user press a specific function key in the form. > In other words, I want to over ride the built-in functionality of > function keys provided by R:Base. > > > Rehan Wyne > MIT > > > >

