|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 10 > 16 > Telegram_2020-10-16T11 |
2020-10-16T11:19:38
And how do I fetch the keystroke in Delphi / IW?
2020-10-16T11:22:21
Use ajaxCall in your script to call: callback function, click button, etc.
2020-10-16T11:24:35
Do you have a example?
2020-10-16T11:26:31
type: code if (e.keyCode == 121) {
$(\#IWBUTTON_GRAVAR\).click(); /*F10*/
}
2020-10-16T11:27:23
I put your code in the Javascript property of the mainform, OK? Do I need a template? or where do I put this code?
2020-10-16T11:28:40
type: pre document.body.onkeydown = function(e){
alert(String.fromCharCode(e.keyCode)+\ --> \+e.keyCode);
language: type: code if (e.keyCode == 121) {
$(\#IWBUTTON_GRAVAR\).click(); /*F10*/
} ;
type: pre }; language:
2020-10-16T11:31:45
Sorry, but I do not understand... I put your code in the Javascript property of the mainform. How should do I get the callback?
2020-10-16T11:32:22
I want any key returned to my code...