Hi, I need to set quantities (one active field => global variable) on touch-screen device. I've try it with Windows Scripting Host & SendKeys, but it doesn't work for me (only when pressed once). Do you have some idea how to solve it?
Do you need to emulate a user typing the numbers? Or do you need to build and code a from looking as on the screenshot to enable the user to type a number on a touchscreen device?
Hi Slawek, I have already the form with WSH.SendKeys() on each button, but this doesn't work.
So to answer your question - Yes, I need to emulate a user typing the numbers for the touch-only device. Users will type Quantities to an active field (1 + 2 + 3 => 123 pcs)
I'm thinking that if a user is 'typing' numbers in your form then the NAV Client is the active application. So you are effectively sending keystrokes to yourself..
yes - and it works, but only with the first number. If I try to press more buttons then one (2 + 4 + 6 => 246pcs), than it calls validation somehow and only the first digit is passed to the function (2 in our example).
It is a bit confusing to me I must say. What application is suposed to handle keystrokes? Is it NAV ? Are you trying to send keystrokes from NAV back to NAV ?
Answers
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
So to answer your question - Yes, I need to emulate a user typing the numbers for the touch-only device. Users will type Quantities to an active field (1 + 2 + 3 => 123 pcs)
xStepa
Can you check if you have any virtual keyboard driver installed on it?
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
No additional keyboard driver except the default one.
xStepa
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Thx
xStepa
Can you post the form code here?
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03