Subject | Re: [IBO] Detecting user changes |
---|---|
Author | Shane van de Vorstenbosch |
Post date | 2001-01-05T01:53:34Z |
That did half the trick. Thank you.
It appears that the TIB_SpinEditEnh does not trigger events as expected. I
want to run a procedure every time the number is changed but:
- using the dataset.OnDataChange only triggers when the user leaves the
control and has finished all changes
- the mouse click appears to be only tied to the text box and triggers when
the user enters the box, not when they are pushing the arrows
- the keyboard event doesn't trigger on each change but only when they are
leaving(?)
Have I used the wrong control or am I expecting too much?
TIA
Shane
It appears that the TIB_SpinEditEnh does not trigger events as expected. I
want to run a procedure every time the number is changed but:
- using the dataset.OnDataChange only triggers when the user leaves the
control and has finished all changes
- the mouse click appears to be only tied to the text box and triggers when
the user enters the box, not when they are pushing the arrows
- the keyboard event doesn't trigger on each change but only when they are
leaving(?)
Have I used the wrong control or am I expecting too much?
TIA
Shane
----- Original Message -----
From: "Geoff Worboys" <geoff@...>
To: <IBObjects@egroups.com>
Sent: Friday, January 05, 2001 12:04 PM
Subject: Re: [IBO] Detecting user changes
> > The only problem I have is successfully triggering when
> > the user changes the field. The user can use the keyboard
> > or mouse. I don't want it to trigger at any other time
> > (when the employee record scrolls, the field will change
> > but this is only displaying the current information).
>
> What I about simply attaching code to the datasource OnDataChange and
> then testing the dataset state. If the state is dssInsert or dssEdit
> then the change is due to an actual field update, otherwise the change
> is due to scrolling the dataset.
>
> Is that what you are looking for?
>
> Geoff Worboys
> Telesis Computing
>
>
>
>