Subject Re: [IBO] Detecting user changes
Author Shane van de Vorstenbosch
Thank you for your help. I have now got my form behaving the way I hoped.

Having played with the control with break points I saw my problem.I was
using the OnChange event but nothing appeared to be happening. Looking at my
code, I was then referring back to the record to get the new value. Since it
had not changed yet, nothing was happening.

The Value property has been removed from the IB_SpinEditEnh control. To get
around this I am calling the selectall procedure and then converting the
selected text. It would be good to have the Value propery back again and
have it equal the displayed value (not the database value).

Thanks,
Shane

----- Original Message -----
From: "Geoff Worboys" <geoff@...>
To: <IBObjects@egroups.com>
Sent: Friday, January 05, 2001 3:30 PM
Subject: Re: [IBO] Detecting user changes


> > In my particular application, I require an event every
> > time the control changes. I can understand why the
> > underlying data is not changed until the user exits the
> > control, but I want to be able to update another control
> > on every change entered.
>
> In which case you must attach the code to the OnChange event of the
> control. In this way you will get EVERY change that occurs in the
> control, regardless of why the change happened: up/down click, user
> entry, dataset scroll, code update etc. (You must make your code
> resilient to invalid/incomplete values in the control.)
>
>
> Geoff Worboys
> Telesis Computing
>
>
>
>
>
>
>