Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving trough form controls
Message
From
17/12/1997 05:58:33
Stoyka Kurteva
Busoft Engineering Ltd.
Bourgas, Bulgaria
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00066143
Message ID:
00066476
Views:
34
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
Map
View

Click here to load this message in the networking platform