Keycode in a field

Hi,

how can I get the keycode from the key pressed by the user in Lotusscript ?

Thanks and regards,

Bernd

Subject: Keycode in a field

LotusScript does not do that. You can use LotusScript to call a platform API to do it. For example, on Windows you can call the GetAsyncKeyState function. What are you really trying to achieve?

Subject: RE: Keycode in a field

Hi,

thanks for your reply.

I want to set the cursor in the next field in the form, if return has been pressed.

In my application this would be more comfortable.

I have too less experience in Lotus Notes :frowning:

How can I use this feature ?

Thanks and Regards,

Bernd

Subject: RE: Keycode in a field

It is a bad idea. User interfaces do not normally work like that, so you will confuse your users.Normally, users can press the Tab key to go to the next field. This works in Notes and in many other applications. It is best if you use this method. Your users will not be so confused.

If some of your users do not know about the Tab key, you can place a message on your form to tell them.