Author: Dan Covill
Posted: 2013-01-31 at 11:51:53
On 01/31/13 09:14 AM, Gene Wirchenko wrote:
>
>> It sounds like you want your exit button to act like a cancel button.
>
> Well, no. I want some buttons to not trigger validation. Exit is
> but one of them. Cancel (if the documentation is correct) only allows
> for one such button.
Hi, Gene. Good to hear another voice from the past! Are you still in
the Great White North?
I'm not sure I understand the problem you're having with LostFocus(),
having to check which control the mouse is in. Are you using the
LostFocus() for the specific control, or are you using the one for the
form itself? We've never touched the form's LostFocus().
I try to use Valid() as much of the time as possible, but there are
situations when validation may require another form to pick a valid
value, and we fell over the rule that you can't have two Valid() events
on the stack. So we moved those to LostFocus() and all works pretty well.
Dan Covill
_______________________________________________
Post Messages to: ProFox@leafe.com
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/510AAF39.7050400@san.rr.com
** 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.