Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WHEN/VALID for a list box
Message
From
25/05/1996 21:39:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00001592
Message ID:
00001632
Views:
35
>>I use the concept of when and valid events for
>>data validity
>>checks, but I have ran into a problem. On a list
>>box the
>>valid event never fires unless the person entered
>>the list.
>>If they just TAB through it the WHEN event fires,
>>but
>>the VALID event does not. I need the VALID event
>>to fire
>>in order to set up some process for the next
>>field. Can
>>anyone give me a way to get the VALID event to
>>fire
>>even when the user just TABs through.
>>
>>Thanks.
>
>Well if you want things to get deep quick then why
>not use the fields KeyPress event & trap the Tab
>key? Fire the valid manually if they hit Tab.
>
>Tom

How about the lost focus event. I tend to use GotFocus and LostFocus to replace the old When/Valid snippets
Allen Burlingame
Quarter Note Programming specializing in Visual Foxpro and
PowerBuilder Applications. Client Server Projects are what
we consider fun!
abgame@ni.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform