News:

Please note new Forum URL: forum.designcad.com

Main Menu

Anykey, F1, and F10

Started by bdeck, September 12, 2019, 09:24:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdeck

The "anykey" statement fails to suppress DC handling of F1 and F10.

When F1 is pressed, anykey returns a key code,  but F1 also opens a Help window.

When F10 is pressed, anykey loses keyboard focus, and DC activates the File menu, as if the ALT key had been pressed.

Handling of the F1 and F10 keys, when pressed in response to an anykey statement, should be corrected.

Other notes:

When the ALT key is pressed, anykey loses keyboard focus, and the File menu is activated.

When the Windows Logo key is pressed, anykey returns a value, then the macro loses keyboard focus, and the Windows Start menu is activated.

Anykey does not report a value for the Fn key.

Focus:

After the Windows Logo key is pressed, focus may be restored by clicking within the DC window.

After the F10 or ALT key is pressed, focus may be restored by clicking within the DC window or by pressing the escape key.