Reputation: 13590
There is no canonical answer to this question (links below.)
I have a desktop Windows app developed using a non-Visual Studio environment (Delphi) and run Windows 7 in a VM, but otherwise standard desktop. I'd like to test some touch features, and so would like to mimic touch on desktop Windows. How do you do this?
Answers gives in other links:
There are a number of other replies which rely on using Visual Studio.
So, for a Windows 7 desktop machine, using a non-Visual-Studio-developed app, how do you simulate touch?
Upvotes: 4
Views: 1787
Reputation: 153
One simple solution consist to use a TActionList and link it with a TGestureManager. In the Form Property "Gestures" choose a gesture and Create an new action linked with the combobox.
In the TActionList choose the new created Action and put your code in it.
Now, you can simulate the gesture with a call to the action.
Upvotes: 1