At 1:42 AM +0200 3/4/06, Stefan Pantke wrote:
In a DB-binding framework, I need to update a record, when the user
changed a filed.

Currently, I trigger a write operation, as soon as the field changed some
way: If the user pressed a key.

Although this isn't a problem in general, I'd be happy to save data less
frequently.

Thus: If I get a LostFocus() event, is my Control's data still valid? E.g.,
if the user changed an EditField's contents, will I be able to access the
last *.Text() value? And is the behaviour identical on all platforms?

Is LostFocus() really FocusWillGetLost()?

Hi Stefan,

The LostFocus will fire after the TextChange so the .text will be valid.
--

Cheers,

Dr Gerard Hammond
Bioinformatic Analyst
Garvan Institute of Medical Research, Sydney, Australia.

If it's worth doing, then it's worth doing with excess.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to