Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Txtgrid lostfocus issues
Message
From
11/10/2005 15:57:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Txtgrid lostfocus issues
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01058063
Message ID:
01058063
Views:
49
I have a txtgrid object on my form that expects numeric data and has an input mask of 999.9. If I fulfill the input mask (let's say with "792.5") then my txtgrid.lostfocus() code runs. If I enter "792" (instead of "792.0") in the txtgrid and click on another object on the form, my txtgrid.lostfocus() code doesn't run but instead, the gotfocus(), keypress() or gotfocus() of the object I've just clicked on.

Any ideas on how I can make sure the txtgrid.lostfocus() code always runs when the focus moves away from my txtgrid?

Thanks,

Joe
Next
Reply
Map
View

Click here to load this message in the networking platform