Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Backspace moves to previous field..
Message
 
 
To
11/06/2003 08:11:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00798825
Message ID:
00798844
Views:
31
This message has been marked as the solution to the initial question of the thread.
Tim,

Add following code to the KeyPress event of a textbox
IF nKeyCode = 127 AND This.SelStart = 0
	NODEFAULT
ENDIF	
>Hi...
>I have some complaints about "non windows standard blah blah"
>concerning the following behavior..
>
>If I have two fields as follows
>
>textbox1 - tab order 1
>textbox2 - tab order 2
>
>Then if I type in the fields:
>xxxx
>yyyy
>
>If I hold the cursor at the end of the yyyy part and hold down the backspace
>then the cursor does not stop at the end of the field and continues to the
>next field and deletes its text as well.
>
>That is the problem is that backspace will move to the previous
>field. Is there any properties are code to prevent this?
>
>BR
>Tim
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform