Subject | Re: [IBO] Global GainFocusEvent |
---|---|
Author | Geoff Worboys |
Post date | 2001-12-31T06:36:59Z |
> In my app I need to know, when the focused DataSource has changed. ICreate an instance of TIB_DataLink in your form constructor or
> have found the property TIB_Session.FocusedDataSource, but I havn't
> found any event, that tells me, when the FocusedDataSource has
> changed.
oncreate event (and of course destroy it in the destructor on
ondestroy event).
Then attach code to the OnReceiveFocus handler of the datalink, and
this handler will receive messages whenenver the focused datasource
changes.
hth
--
Geoff Worboys
Telesis Computing