Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JavaScript How To??
#1
Howdy All!

I am in the process of trying to add a version of my barcode scanner routine (keyboard handler) into my IW app. 

What I need to do is keep reading the keyboard (OnChar) and look for a start delimiter and an ending delimiter (or ESC to abort the keyboard read).

In my VCL app, I just put up a modal dialog with a label and a Cancel button and I implement the aforementioned routine trapping the form's OnChar event.

I would like to do something similar in an IW javascript routine.

I really am ignorant when it comes to programming in javascript and I have Googled for hours and can't find anything more than a simple OnKeyDown routine example.

Has anyone an example of how to implement this?

All the best and thanks in advance,

Shane
Reply


Messages In This Thread
JavaScript How To?? - by ShaneStump - 09-22-2020, 05:50 PM
Mask Edit? - by ShaneStump - 09-23-2020, 03:21 AM
RE: JavaScript How To?? - by ShaneStump - 09-23-2020, 03:34 AM
RE: JavaScript How To?? - by ShaneStump - 09-23-2020, 05:21 AM
RE: JavaScript How To?? - by kudzu - 09-23-2020, 02:04 PM
RE: JavaScript How To?? - by ShaneStump - 09-24-2020, 12:55 AM
RE: JavaScript How To?? - by DanBarclay - 09-25-2020, 03:47 AM
RE: JavaScript How To?? - by Jose Nilton Pace - 09-24-2020, 12:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)