Am 04.04.2006 um 01:29 schrieb Dr Gerard Hammond:
At 11:39 PM +0200 3/4/06, Stefan Pantke wrote:
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,
Yes I realised after I sent that email that I hadn't tested the
window close.
The order is .textChange, .SelChange, .LostFocus, .Close, so
your .text property will contain the latest info.
Hi Gerard,
thanks, confirmed for OS X. Needs to be tested on Win32.
Thanks for your help!
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>