Please help i am hitting my head against a wall here.
I am creating a database to use with a touchscreen and i have created
a pop up keyboard. I have got stuck on two things.
Firstly when i am hitting the keys, the letter is being added to a
text box fine but the cursor is jumping back to the beginning
everytime. When i hit the next letter it is being added to the end of
the text fine. The problem is that when i want to enter the command
space(1) into the code, i can see it add it to the text string but
when the next letter is added it is though it is not there and just
ends up in a string of letters with no space.
How can i make the code so that when i am typing it is leaving the
cursor at the end? Here is a simple part of my code for the letter Z
and the space.
Private Sub Letter_Z_Click()
On Error GoTo Err_Letter_Z_Click
Me!Enter_Box.SetFocus
Me!Enter_Box.Text = Enter_Box.Text + "Z"
Exit_Letter_Z_Click:
Exit Sub
Err_Letter_Z_Click:
MsgBox Err.Description
Resume Exit_Letter_Z_Click
End Sub
Private Sub Space_Bar_Click()
On Error GoTo Err_Space_Bar_Click
Me!Enter_Box.SetFocus
Me!Enter_Box.Text = Enter_Box.Text + space(1)
Exit_Space_Bar_Click:
Exit Sub
Err_Space_Bar_Click:
MsgBox Err.Description
Resume Exit_Space_Bar_Click
End Sub
Once i can make the cursor appear at the end i can proceed to my next
problem.
The other problem that i have is i need to create a button that can
delete one character at a time. It is easy to create a button that can
make the field null but i don't wish to do all of it only the last
character.
Hope some one out there can help.
Thanks James