Merge command/control down key functions
Merge command/control down key functions
Key modifiers can mean lot for contextual clicks:
Want to know if the user has the shift key down: Shift down
How about caps lock: Caps lock down
But want to know if a control key is down?
http://doc.4d.com/4D-Language-Reference-12/User-Interface/Windows-Ctrl-down.301-155201.en.html returns true for windows and the command (Macintosh command down
) key on mac
Is it just me or should anything with Windows
in the command only return true for windows machines? I would like to either see a generic Is command or control down
or split the functionality of os specific functions as to not cause confusion.
I feel the same way about Macintosh option down
and Windows alt down
.
Author’s Note
Initial md
Generated using https://github.com/jsr6720/wordpress-html-scraper-to-md
Original Wordpress categories: [‘Wish List’]
Original Wordpress tags: “Wish List”, “4D”, “control key”, “key down”
Original Wordpress comments: None
Significant Revisions
tags: 2010, wordpress, txcowboycoder, wish-list, 4D, event-handling
- May 6th, 2024 Converted to jekyll markdown format and copied to personal site
- Nov 3rd, 2010 Originally published on txcowboycoder wordpress site