General information
Category:
Forms & Form designer
Thank you Jim
Stoyka
>> I have a text box txtNameE on a form
>> when txtNameE is the active control and txtNameE.value = "" I've pressed BackSpace key then the previous control got the focus.
>>
>Stoyka,
>
>So what you want is to prevent the backspace key from going backwards then? You can do this in your textbox keypress event, this will be much easier if you are using classes for your controls. In the keypress you would need code like this;
>
> IF EMPTY(THIS.Value) AND nKeyCode = 127 && the backspace
> NODEFAULT
> ENDIF
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only