Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tab key does not fire lostfocus
Message
From
25/08/2007 08:22:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/08/2007 23:03:09
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01250402
Message ID:
01250427
Views:
14
>hi all
>i write some coding in a control text box at lostfocus method
>if user press enter key it works fine
>but if user press tab key to next control text box,
>this control lostfocus method does not work at all
>so where should i put the coding into in order to work with enter or tab key ?

LostFocus() works both with ENTER and with TAB - I just tested it, just in case. It should also work with a mouse click into another object.

You might have some other code that interferes. Do you use KeyPress()?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform