Am 03.04.2006 um 00:50 schrieb Dr Gerard Hammond:
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.
Hi Gerard,
in any case? Even if I close a window or quit the app?
CU,
s
_______________________________________________
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>