At 14:51 2013-06-18, Rafael Copquin <[email protected]> wrote:
If I understand you correctly, what you want is to shut off
validation until the user hits the edit button.
No. Actually, I have that covered for my main style of form.
The form that I am having trouble with is one where there is no
edit button. The operator is thrown into the form appending to the
table using defaults from the last row entered.
One form has a special requirement for date input (select only
the day digits on entry). I have to use keyboard to set this, and
that triggers the validation. (.selstart and .sellength should work,
but I have found that they sometimes do not (when the control is the
first control). It can also happen when focus goes off the form and
comes back (as, for example, with a messagebox() call). The
.activate of the control fires before that of the form, and
apparently, this causes the .sel*'s to not take effect (though they are set).)
[snip]
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.