Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Setfocus from one text box to another
Message
 
To
21/02/2002 08:20:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00623078
Message ID:
00623092
Views:
9
>I Placed this code in a textbox gotfocus method.(the next object in the tab order)
>IF EMPTY (ALLTRIM(THISFORM.TxtSerial1.VALUE))
> THISFORM.TxtSerial1.SETFOCUS
>ENDIF
>
> Instead of passing the focus VFP errors out with
>Can not call setfocus from within a when, valid rangehigh, rangelow event
>
>I know that I used to use this technique in the past
>HEELLPPP

Have you tries putting the code in the When Event?
Caroline
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform