473,395 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

touch screen

hi all !

i have a database working on a touch screen.
on one of the forms i would like to place some buttons with all
numbers so you can enter a numeric value in without using the
keyboard. ie. "1","2","3","4","5","6","7","8","9","0"
how can i set up buttons on the form so that when you touch the button
on the touch screen it enters that number into the data field ?
im not sure if this is possible or not with Access ??
any ideas would be appreciated .... thanks!

brino

Mar 20 '07 #1
3 7367
On Mar 20, 9:25 am, "brino" <bdsolutions2...@yahoo.com.auwrote:
hi all !

i have a database working on a touch screen.
on one of the forms i would like to place some buttons with all
numbers so you can enter a numeric value in without using the
keyboard. ie. "1","2","3","4","5","6","7","8","9","0"
how can i set up buttons on the form so that when you touch the button
on the touch screen it enters that number into the data field ?
im not sure if this is possible or not with Access ??
any ideas would be appreciated .... thanks!

brino
Hi Brino,

Create the command buttons and name them something like cmd1, cmd2
etc.

Create a text box called something like myTextBox.

In the "On Click" event of cmd1, put the following code:

Private Sub cmd1_Click()

Dim txtVal As String
Dim newTxtVal As String

If IsNull(Me.myTextBox.Value) Then
Me.myTextBox.Value = 1
Else
txtVal= Me.myTextBox.Value
newTxtVal = winVal & 1
Me.myTextBox.Value = newTxtVal
End If

End Sub
Continue this for the rest of the buttons, changing the number "1" in
the code to "2" and so on for all the buttons.

This just concatenates the number of the button you have just clicked
to the end of the string in the text box.

Hope this helps a bit,

David

Mar 20 '07 #2
Sorry,

This line:

newTxtVal = winVal & 1

should read

newTxtVal = txtVal & 1
Mar 20 '07 #3
On Mar 20, 9:26 pm, "Daveo" <writetoda...@gmail.comwrote:
Sorry,

This line:

newTxtVal = winVal & 1

should read

newTxtVal = txtVal & 1
thanks heaps daveo
thats great !!!

Mar 20 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: The Bear | last post by:
Is there any documentation for creating a touch screen application using c#. Any information anyone has would be great The Bear. *** Sent via Developersdex http://www.developersdex.com ***...
5
by: MikeY | last post by:
Hi everyone, I'm going to embark on trying my hand at developing a C# windows application for a touch-screen. Is there any special considerations that I need to be aware of for developing a...
4
by: Bob | last post by:
I have no experience with them... can I expect that "touch" will fire "mousedown" for any control? Or will I need special controls that understand touchscreen input? Bob
3
by: kiran.challagolla | last post by:
Hi All I want to write a touch screen POS application. I am trying to get this accomplished in c#.net. I have very good experience in developing stand alone applications and web applications using...
2
by: reidarT | last post by:
Do I need to do anything in my application if I want to use a touch screen instead of keyboard/mouse, or is everything controlled by the screen drivers? reidarT
2
by: Simon Verona | last post by:
I know that Windows has a "clickable" keyboard that can pop up when necessary.. I have a touch-screen based application. Is there anyway that I can utilise this keyboard application in windows...
1
by: MikeY | last post by:
Hi Everyone, I'm looking for suggestions for touch screen form sizes. Or better yet dealing with forms very various screen sizes. How to deal with anchoring buttons etc and so they don't overlap...
25
by: Michelle | last post by:
Hi, I am new it vb.net and am looking at writing for touch screens as one of my clients wants their application written for touch screens. I'm sure someone that done this before. Are there links...
3
by: Elioth | last post by:
I want to make a program which it work with a touch screen, I need to know if I need any special control or programming in vb.net to do, to the program work with the touch screen? Thanks for...
3
by: Abhijit Taur | last post by:
i want to creat an touch screen calculator how should i devlop the windows form?
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.