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 - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;0 -
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 - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;0 -
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 - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;0 -
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 - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
