Set your flag in the LOAD and reset it in the end of the INIT method.


>________________________________
> From: Gene Wirchenko <[email protected]>
>To: ProFox Email List <[email protected]> 
>Sent: Tuesday, June 18, 2013 5:50 PM
>Subject: Turning Off Field Validaton Until Form "Settles"
> 
>
>Dear Vixens and Reynards:
>
>      Once more, I am doing battle with the form event model.  I did 
>not want a fight, but it appears that I have one.
>
>      I have validation on fields.  What I want to do is be able to 
>turn this off until the form is ready for user input.  How can I do this?
>
>      One possibility that I have thought of is using Form::KeyPress 
>to detect the first keypress.  I do not think that this will work, 
>because I have to have a keyboard command in one gotfocus to handle a 
>VFP bug.  (I actually have to move off the field then back on, 
>because otherwise, the cursor does not get set to the part of the 
>field that I want (the day part of a date).
>
>      I have a flag property that I use for determining whether to do 
>validation, and it works fine during normal use.  During 
>initialisation, with all of the events firing, it does not work.  I 
>think it would *IF* I could determine where I could reset the flag.
>
>      Any ideas what I can do here?
>
>Sincerely,
>
>Gene Wirchenko
>
>
>_______________________________________________
>Post Messages to: [email protected]
>Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
>OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
>Searchable Archive: http://leafe.com/archives/search/profox
>This message: http://leafe.com/archives/byMID/profox/
>** All postings, unless explicitly stated otherwise, are the opinions of the 
>author, and do not constitute legal or medical advice. This statement is added 
>to the messages for those lawyers who are too stupid to see the obvious.
>
>
>

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to