It is currently 8 June 2025, 19:58 Advanced search

Intercettare pressione tasto

Domande e risposte su come utilizzare Instant Developer Cloud al meglio

Intercettare pressione tasto

Postby mcdok » 12 October 2020, 14:34

C'è modo di intercettare la pressione di un tasto a livello di videata, es: Up, PageUp, ecc... ?
mcdok
 
Posts: 855
Joined: 19 July 2011, 16:18

Re: Intercettare pressione tasto

Postby d.pierangeli » 14 October 2020, 6:44

Puoi usare la proprietà FormHandledKeys e il relativo evento di OnKeyPress.

https://doc.instantdeveloper.com/?ARTID=6EC270C3-B88E-4D5D-A89B-F48BA33D9FE0&LANG=it

Che tema stai usando?
User avatar
d.pierangeli
Pro Gamma
Pro Gamma
 
Posts: 8129
Joined: 30 September 2010, 15:35

Re: Intercettare pressione tasto

Postby mcdok » 14 October 2020, 9:50

Sono su Inde Cloud.
mcdok
 
Posts: 855
Joined: 19 July 2011, 16:18

Re: Intercettare pressione tasto

Postby d.pierangeli » 16 October 2020, 10:59

In questo caso non esiste nessun componente che intercetta i tasti applicativi.

Eventualmente puoi creare un componente javascript custom che lo faccia.
User avatar
d.pierangeli
Pro Gamma
Pro Gamma
 
Posts: 8129
Joined: 30 September 2010, 15:35

Re: Intercettare pressione tasto

Postby mcdok » 16 October 2020, 13:50

C'è qualche esempio sul come creare un componente javascript che posso seguire?
mcdok
 
Posts: 855
Joined: 19 July 2011, 16:18

Re: Intercettare pressione tasto

Postby v.marino » 19 October 2020, 7:13

Puoi dare un'occhiata al progetto d'esempio Extensibility Design Pattern e in particolare alla libreria MyAppLibrary in cui è presente il componente javascript esterno TagCloud.
User avatar
v.marino
Pro Gamma
Pro Gamma
 
Posts: 652
Joined: 2 January 2013, 8:11

Re: Intercettare pressione tasto

Postby mcdok » 26 October 2020, 7:32

Grazie, provo...
mcdok
 
Posts: 855
Joined: 19 July 2011, 16:18


Return to Tips & Tricks - Cloud

Who is online

Users browsing this forum: No registered users and 7 guests

cron