How do I write a code vb code that could function like a backspace key. That is delect text from right to left one after the other?
![]() |
How do I write a code vb code that could function like a backspace key. That is delect text from right to left one after the other?
try..
Text1.text = mid(text1.text,1,len(text1.text -1))
reference to this question asked on 22/02/08 one member suggested that I use this : text1.text=mid(text1.text,1,len(text1.text-1)). I tried it to achieve backspace but the I got this error message: variable required - can't assign to this expression. And "-" was highlighted. What do I do now.
Sorry typed incorrect...
Text1.text = mid(text1.text,1,len(text1.text) -1)
In vb.net (2005)
StringVar1.Remove(StringVar1.length,1)
This may require revising...
How I can make text box which allow a data operator to input amount only.
Please give me code or mathod to restrict a data operator other then Amount means I want to creat a Amout Box.
Please explain more fully... :confused:
Do you want it so that the user can enter the number of 'Backspaces' to 'Execute'?
All times are GMT -7. The time now is 07:31 PM. |