Are there any other things that I have to watch for using this way of
handling validation? (I am remembering now why I went with a button
toolbar (to allow exiting a form when the current entry control has an
invalid value), but there are probably other traps.)
Toolbars and the controls on them cannot* get focus. Therefore if the user
is able to exit by clicking a toolbar button, the LostFocus() of whatever
control had focus at that time may not fire. If the button they click is
the "Save" button, they can save invalid data.
This is one reason why I abandoned using toolbars.
* They aren't _supposed_ to be able to get focus. As I recall, there are
bizarrenesses with comboboxes on toolbars, and, perhaps, also with textboxes.
Ken Dibble
www.stic-cil.org
_______________________________________________
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.