Subject | RE: [IBO] Lookup Combos OnChange, OnCloseup |
---|---|
Author | Alan McDonald |
Post date | 2003-02-20T06:32:03Z |
IB_LookupCombo inherits from TIB_CustomCombo and TCustomEdit.
Somewhere up there, there is a Modified property, which according to the
help is set to true when the text contents of the control is modified.
This poperty is not set to true in the descendent IBLookupCombo when it
closesup with a different displayedfield contents than when it opened.
That is all..
Don't struggle... that's our job :-)
Alan
-----Original Message-----
From: Helen Borrie [mailto:helebor@...]
Sent: Thursday, 20 February 2003 3:00 PM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Lookup Combos OnChange, OnCloseup
At 02:52 PM 20/02/2003 +1100, you wrote:
I think the Modified property of the polling key column is the right one to
go for. If you try to use, say, the AfterScroll event of the lookup
dataset, you won't be certain that the user actually modified the polling
column unless you test it as well, each time the lookup dataset's buffer
pointer moves.
I must say I'm struggling here to ascertain what your problem actually
is...what do you need to catch?
Helen
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Somewhere up there, there is a Modified property, which according to the
help is set to true when the text contents of the control is modified.
This poperty is not set to true in the descendent IBLookupCombo when it
closesup with a different displayedfield contents than when it opened.
That is all..
Don't struggle... that's our job :-)
Alan
-----Original Message-----
From: Helen Borrie [mailto:helebor@...]
Sent: Thursday, 20 February 2003 3:00 PM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Lookup Combos OnChange, OnCloseup
At 02:52 PM 20/02/2003 +1100, you wrote:
>I suppose if you double dipped, then you would be double dipping... :-)set
>I only want to do something once, but the inherited property, if it were
>as expected, would give me the option of dipping once at the (non IBO)The inherited property of what?
>documented place or the IBO place.
I think the Modified property of the polling key column is the right one to
go for. If you try to use, say, the AfterScroll event of the lookup
dataset, you won't be certain that the user actually modified the polling
column unless you test it as well, each time the lookup dataset's buffer
pointer moves.
I must say I'm struggling here to ascertain what your problem actually
is...what do you need to catch?
Helen
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/