Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Application restart on ALT + cursor key
Wed, Apr 19 2017 8:55 AMPermanent Link

Michael Dreher

In one application I've implemented an up/down/left/right navigation by handling "ALT + Cursor" keys. Surprisingly in the IDE the TForm.OnCreate and TForm.OnShow events fire while using this key combinations; mostly on "ALT + LEFT" and "ALT + RIGHT". Is this "application restart" intended?

Michael Dreher
Wed, Apr 19 2017 9:12 AMPermanent Link

Matthew Jones

Michael Dreher wrote:

> mostly on "ALT + LEFT" and "ALT + RIGHT". Is this "application restart" intended?

That sounds like an alternative for the "Back" button in the browser. Could that be what is happening?

(I've just tried to use the Ctrl-S, Ctrl-P for things myself, only to find the browser makes things awkward with save and print! The only keys I have found that are safe are F8 and F9, and using a prefix like \ followed by another character. (This is in an application with edit boxes for ordinary typing)).

--

Matthew Jones
Wed, Apr 19 2017 1:48 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< In one application I've implemented an up/down/left/right navigation by handling "ALT + Cursor" keys. Surprisingly in the IDE the TForm.OnCreate and TForm.OnShow events fire while using this key combinations; mostly on "ALT + LEFT" and "ALT + RIGHT". Is this "application restart" intended? >>

It's not intended, but they're definitely IE shortcuts:

https://support.microsoft.com/en-us/help/306832/internet-explorer-keyboard-shortcuts

I'll see if I can get the embedded browser to ignore them and pass them on to the application.

Tim Young
Elevate Software
www.elevatesoft.com
Image