Solved

Third Party On Screen Keyboard, numeric only.

Posted on 2016-09-15
9
78 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.

752 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