Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VALID, READ CYCLE and ESC
Message
From
22/10/1998 09:49:15
 
 
To
21/10/1998 22:27:30
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00149210
Message ID:
00149359
Views:
16
Hitting the ESC key is considered a 'leaving the field' action, but the valid for that field will only fire if the value of the field has changed.


>I suppose pressing during a READ will ends
>the read WITHOUT firing the VALID functions of
>the GETs. But lately, I found that wasn't the case
>in my screens, notably those generated by GENSCREEN.
>The VALID functions were fired whether I pressed
> or not duing a READ CYCLE. There was no ON
>KEY LABEL hooked to .
>
>I couldn't reproduce the adnormal behaviour if I wrote
>a simple program, like this one:
>
> * main()
> m.xx = 0
> @05,05 get m.xx valid v_xx()
> read cycle
> return

>
> function v_xx
> wait window "haha"
> return .t.
>
>Have you ever heard of this adnormaly? For the meantime,
>I need to insert codes to check for in all VALID
>functions.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform