Solved

Third Party On Screen Keyboard, numeric only.

Posted on 2016-09-15
9
63 Views
Last Modified: 2016-09-20
Does anyone know of a Third Party on Screen Keyboard, numeric only keys with backspace and enter?
0
Comment
Question by:HLRosenberger
  • 6
  • 3
9 Comments
 
LVL 48

Expert Comment

by:jpaulino
ID: 41799891
Is jQuery.NumPad an option?

http://a.kabachnik.info/jquery-numpad.html
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41799896
sorry.  I should have not included ASP.NET.  This is a .NET desktop app.
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41799910
Or what if I create my own little form which is a "keypad", and do a Sendkeys?   The problem I am running into is that Sendkeys send to the active window, so how do I click a button on my form with the form getting focus?
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 48

Expert Comment

by:jpaulino
ID: 41799929
VB or C#?
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41799944
VB.  I can convert C# code, if necessary.
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41799952
0
 
LVL 48

Accepted Solution

by:
jpaulino earned 500 total points
ID: 41799997
You just need to create a simple for for that (like this http://www.codeproject.com/Articles/267588/Creating-a-touchscreen-interface-such-as-a-numeric)

You could remove the focus and use do something like this (using RegisterHotKey):

http://www.codeproject.com/Articles/4345/NET-system-wide-hotkey-component
0
 
LVL 1

Author Comment

by:HLRosenberger
ID: 41800447
I have a simple form working.  I can use SendKeys to enter data to the active window, like Wordpad or Excel or Word.   I use the code shown below to prevent the form from being "active".

However the point of creating this numeric keypad is to use it within my own app.  But it does not work, in that when I click a button on my keypad form, my app loses focus.  How can I prevent that?  See image.    



 Protected Overrides ReadOnly Property ShowWithoutActivation As Boolean
        Get
            Return True
        End Get
    End Property

    Protected Overrides ReadOnly Property CreateParams As System.Windows.Forms.CreateParams
        Get

            Const WS_EX_NOACTIVATE As Integer = &H8000000
            Dim params As CreateParams = MyBase.CreateParams
            params.ExStyle = params.ExStyle Or WS_EX_NOACTIVATE
            Return params

        End Get
    End Property  

 Private Sub Class1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

       Me.TopMost = True

    End Sub


keypad
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 41806751
thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question