Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox
Message
From
28/05/2002 07:18:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/05/2002 04:50:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00661885
Message ID:
00661915
Views:
17
>I have a few Textbox. I using 'Enter' to go to another TextBox. If I want to delete the contain of the textbox, I using the 'backspace' to delete. When I press to many time of 'BackSpace', It will jump to the previous textbox. Can I stop the cursor from moving back to prevous textbox.
>
>Thanks

Carmen,
If u really want to do it either in keypress or lostfocus check for key 127.
ie:
*Keypress
lparameters nKeyCode, nModifiers
if this.Selstart = 0 and nKeycode = 127
nodfault
endif

*Lostfocus
if lastkey()=127 and !mdown()
nodefault
endif

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform