Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus
Message
From
27/06/2005 02:06:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Setfocus
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01026610
Message ID:
01026610
Views:
56
hi all,

i try with this code under, via click it works,but via keypress the cursore skip to another text.
any idea ,help
LPARAMETERS nKeyCode, nShiftAltCtrl
IF nkeycode=13
    IF  thisform.text10.Value>14 OR thisform.text10.Value<1
         =MESSAGEBOX("ÇÏÎÇá ÎÇØìÁ")
        thisform.text10.SetFocus
    endif
endif
thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform