It was too late last night to try this but, this morning, just to prove myself right, I copied and pasted Mike's example.

Of course it worked.

It is nice to be wrong sometimes but I thought that I had better test some of my old keymaps as they were the things I had been unable to get to work many months, even years, ago now.

Of course they worked, too.

I seem to remember that the problem I had was with spaces in the "command" so, using Mike's example, I would have expected just to get "pause" written at the R:>.

Now I need to go back and reinstate the keymaps that would still be useful for me so thank you Mike for tempting me and thank you and apologies to RBTI for doubting that the problem - if there ever was one - had been fixed.

Regards,
Alastair.


----- Original Message ----- From: "MikeB" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, May 15, 2008 8:33 PM
Subject: [RBASE-L] - Re: Running a form with keystrokes?


try this:

from the R >

SET KEYMAP [ALT]M = 'Pause 2 using ''Keymap''[enter]'

then press [ALT]M

You have to remember that the result of a programatic action has to be used where appropriate. For example if you press [ALT]M while in a text field, the text field will receive 'Pause 2 using 'Keymap' and the [ENTER] key will be executed. Probably not appropriate for that location, so there is no indication that KEYMAP doesn't work, it is just usually used in the R> environment where all our legacy code resided. Now our forms respond to events and a keymap setup isn't tied to those events AFAICT.




----- Original Message ----- From: <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, May 15, 2008 2:31 PM
Subject: [RBASE-L] - Re: Running a form with keystrokes?


I was never one to make much use of keymaps, but are keymaps still valid in 7.6 where you could define them to a phrase? Like mapping the [F11] key to "run rbase.dat" or something like that? In that case the user could be at the R>
prompt and just hit [F11] to bring up the app.

Karen






--
No virus found in this incoming message.
Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.16/1433 - Release Date: 14/05/2008 16:44


--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to