Hello Guest it is October 09, 2024, 09:17:30 PM

Author Topic: Touchscreen buttons  (Read 7293 times)

0 Members and 1 Guest are viewing this topic.

Touchscreen buttons
« on: March 23, 2010, 05:18:17 PM »
Hi,

I just want to create a touchscreen set where I want to use buttons as a simple keyboard. I will have the numbers 0...9, the letters G, M, F, S, X, Z, I, K +/- . and Enter. So I think I don´t need an on screen keyboard nore a external keyboard.

I tried to use sendkeys "char" but the DROs and the MDI are just shortly flashing with the correct character and than they appear with no change.

Could you please help me with the code?

Thanks
Dirk
Re: Touchscreen buttons
« Reply #1 on: May 03, 2020, 05:06:05 PM »
Same question here, can´t find any informations about it.

Offline Graham Waterworth

*
  • *
  •  2,730 2,730
  • Yorkshire Dales, England
Without engineers the world stops

Offline TPS

*
  •  2,528 2,528
Re: Touchscreen buttons
« Reply #3 on: May 04, 2020, 05:15:03 AM »
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Touchscreen buttons
« Reply #4 on: May 04, 2020, 05:36:59 AM »
@TPS

thank you for the script. Can it be used to do MDI Inputs?

Offline TPS

*
  •  2,528 2,528
Re: Touchscreen buttons
« Reply #5 on: May 04, 2020, 06:08:15 AM »
not directly, you have to add some more Buttons (G,F,and so on) and modify the code

Code: [Select]
SetOEMDro(DRONum,CDbl(Dlg1.FText))
   

to
Code: [Select]
Code Dlg1.FText

it should do something simular.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.