ctrl+key events

Archives Forums/BlitzPlus Programming/ctrl+key events

Gabriel(Posted 2003) [#1]
I'm trying to detect ctrl+a in a textfield.

I can't see any way to read the ctrl key being down as an event so is the best way to do this to detect the a key being pressed as an event and then only do something if keydown() with the ctrl key is true?

EDIT: Nope, that doesn't even work. Holding ctrl seems to block the key event. I get no event in the textfield at all.


skidracer(Posted 2003) [#2]
Ctrl A-Z will give you an Event$103 where KeyData() value is 1-26 (shift is ignored).


Gabriel(Posted 2003) [#3]
Ahhhh.. thanks. :)