Telegram_2020-10-16T11

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 10 > 16 >

Telegram_2020-10-16T11

Telegram link

 

2020-10-16T11:19:38

 

And how do I fetch the keystroke in Delphi / IW?

 


 

Telegram link

 

2020-10-16T11:22:21

 

Use ajaxCall in your script to call: callback function, click button, etc.

 


 

Telegram link

 

2020-10-16T11:24:35

 

Do you have a example?

 


 

Telegram link

 

2020-10-16T11:26:31

 

type: code if (e.keyCode == 121) {

 

$(\#IWBUTTON_GRAVAR\).click(); /*F10*/

 

}

 


 

Telegram link

 

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?

 


 

Telegram link

 

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:

 


 

Telegram link

 

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?

 


 

Telegram link

 

2020-10-16T11:32:22

 

I want any key returned to my code...