Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't call setfocus from a valid event
Message
From
09/06/2003 21:20:35
 
 
To
09/06/2003 10:23:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00797959
Message ID:
00798182
Views:
22
Hello

* Valid method

Do your stuff
RETURN a_numeric_value


where the numeric value shows how many controls the focus will go forward (positive values) or backward (negative values), according to the tab order. If the numeric value is 0, the focus won't leave the control.

Hope this helps

>Hi all, i have a problem with this form that find clients, when i clic the search button it shows the find window then if success shows the select window wich have a listbox then put the focus on it to show the selected client. When the user digit a inexistent client i show the find window again but, at the moment the form try to put the focus on the listbox shows the error "can't call setfocus from a valid event"
>how can i fix it? thanks....
Grigore Dolghin
Class Software.
Previous
Reply
Map
View

Click here to load this message in the networking platform