UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Onscreen Keyboard, Office 2010    
 
   
snoopydude
post Mar 17 2012, 02:28 PM
Post #1

UtterAccess Addict
Posts: 118



I am using Access on a tablet PC. The onscreen keyboard that comes with the tablet can not be customized. I would like to design a keyboard that would open up when a user taps on a textbox. Depending on the type of data needed a keyboard with letters and numbers or just a keypad with numbers would appear.

The behavior I am looking for is similar to an iPhone. When you tap on the key on the keyboard the corresponding letter is entered into the textbox. Pressing the ENTER key or the TAB key will move you to the next field.

How do I send the letter from the keyboard to the original textbox? Keep in mind there could be several parent forms to go through to get to the originating form.

Go to the top of the page
 
+
niesz
post Mar 17 2012, 03:52 PM
Post #2

Utter A-fishin'-ado
Posts: 17,723
From: Cincinnati, Ohio, USA . . . ><((((°>



There's one in the Code Archive here. There may be others, too.
Go to the top of the page
 
+
snoopydude
post Mar 17 2012, 04:56 PM
Post #3

UtterAccess Addict
Posts: 118



I saw that one but it will not serve my purposes. I need a certain look to it and be able to customize the key layout.
Go to the top of the page
 
+
niesz
post Mar 17 2012, 06:20 PM
Post #4

Utter A-fishin'-ado
Posts: 17,723
From: Cincinnati, Ohio, USA . . . ><((((°>



You can make the keyboard look any way you want. If you look at the design of the form, there are invisible buttons placed over the top of the picture of the keyboard.

You don't have to use that picture ... or any picture for that matter. Just lay out the screen any way you need it, with any buttons you want to include.
Go to the top of the page
 
+
snoopydude
post Mar 17 2012, 11:32 PM
Post #5

UtterAccess Addict
Posts: 118



I did not realize it was designed that way. Besides the picture, I do not like the text box at the bottom. I suppose I could hide it. I do not understand how what I type on that keyboard will get into the text box I have selected on my form. If you do could you explain it to me?
Go to the top of the page
 
+
niesz
post Mar 18 2012, 06:53 AM
Post #6

Utter A-fishin'-ado
Posts: 17,723
From: Cincinnati, Ohio, USA . . . ><((((°>



I'm not familiar with the code, ... I didn't write it. But I'm sure you can direct the text to go into any textbox you want.

In your scenario, since you want it to go to multiple textboxes, you may need to build a method to remember what textbox you "came from", because as soon as you click a keyboard button, it will move focus away from the field.

You may also want to build a method a method to visually indicate what textbox has the "focus" (even though it really will not), so that the user knows where his keystrokes will end up.

Just remember that the example provided simply demonstrates a method. You will always need to adapt it to your specific circumstances. Give it a try and if you still can't figure it out, post back and we'll dig a little deeper.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 23rd May 2013 - 10:59 PM