Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple textbox quest
Message
From
12/05/2003 10:48:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00787326
Message ID:
00787329
Views:
18
>On a form I have with a slew of textboxes, normal proceedure is for a user to make his/her changes and hit F1 to save. If a user makes a change to a textbox's data, they have to hit ENTER(or a textbox lost.focus must occur) for the data to be saved. In other words, if they make a change and don't hit ENTER, then hit F1, the data is not saved. Is there a way to eliminate the need for ENTER after changing a txtbox value?

if nKeyCode = F1keycode
nodefault
this.Value = this.Value
* ...

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
Next
Reply
Map
View

Click here to load this message in the networking platform