Subject | Re: [IBO] Focus of TIB_Datasource |
---|---|
Author | Helen Borrie |
Post date | 2004-08-09T01:05:36Z |
At 07:08 PM 8/08/2004 +0200, Christian G. wrote:
Helen
>Hi Helen,Yes.
>
> > I'd maintain
> > form-level properties, e.g. DSLastFocused and FocusedDS, that get updated
> > on the OnGainFocus and OnLoseFocus events.
>
>This would work too, but if you have a form with lots of datasources,
>you have to generate the above events for each one of them.
>
>In that case, having a global 'OnDataSourceFocusChange' event in the
>session object would be very convenient and elegant, don't you agree?
Helen