Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WHEN/VALID for a list box
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00001592
Message ID:
00001621
Views:
36
>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
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform