Subject Re: [IBO] Focus of TIB_Datasource
Author Helen Borrie
At 07:08 PM 8/08/2004 +0200, Christian G. wrote:
>Hi Helen,
> > 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?