Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record searching on textbox lostfocus event
Message
From
02/10/2003 13:46:55
 
 
To
02/10/2003 13:44:43
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00834029
Message ID:
00834380
Views:
24
It could be placed in Lostfocus, too

>Sorry but I pressed the wrong key before a finished...
>
>Try this...
>
If This.llunique = .T.
     Set exact on
     if SEEK(this.value,this.lctablethis.lcindex,)
            =Messagebox("&lcvalue allready exist on the table",16,"Opps...")
        NODEFAULT && this will keep focus in the texbox
     Endif
     Set exact off
Endif
>...but I think it should be in the Valid event of the textbox if you want to keep the focus on the textbox.
>
>
>Paco Calvente.
Grigore Dolghin
Class Software.
Previous
Reply
Map
View

Click here to load this message in the networking platform