OnScreen numeric pad on Classic Client

xStepa
Member Posts: 106
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?
thank you

thank you

Regards
xStepa
xStepa
0
Answers
-
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?
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
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)Regards
xStepa0 -
So it is a NAV Classic Client running on a PC/laptop (Windows-powered device) which has a touchscreen only, if I understand correctly your setup.
Can you check if you have any virtual keyboard driver installed on it?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Yes, NAV Classic Client running on Windows Server 2016 terminal services (the device itself has an Android + MS Remote Desktop app).
No additional keyboard driver except the default one.Regards
xStepa0 -
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..Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
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).
ThxRegards
xStepa0 -
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 ?
Can you post the form code here?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions