June 28, 2024, 08:50:27 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Detecting key strokes in a browser

Started by Andy, April 10, 2012, 04:08:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy


Hi,

I'm trying to detect key strokes e.g. when someone presses the letter 'A' for example.

This is straight forward normally, but i'm using the browser example and it doesn't seem to work here. There was another post about this but the solution is no good for me.

Could someone show me how I add in:

case @IDCHAR and case @IDKEYDOWN controls in the browser example so I can detect the letter 'A' and say the 'Delete' key press.

Thanks,
Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.