Home All Groups Group Topic Archive Search About
Author
9 Aug 2006 5:49 PM
gonzosez
I have an application that gets values from the registery and populates
textboxes on a form.
I have also created a sub using textchanged event. which prompts the user to
save their changes.
The problem is that when the form loads and the textboxes are filled it
triggers the textchanged event.
I want the boxes to fill with the stored data and the change event to fire
only after the user has made a change.

Thanks
Gonzo

Author
9 Aug 2006 7:09 PM
Marina Levit [MVP]
Then this isn't the event for you. Also, I believe TextChanged fires after
every key stroke - which is also probably not what you want.

Try the Validating or Validated events. These fire when the user tries to
leave a field.

Show quoteHide quote
"gonzosez" <adf> wrote in message
news:ePzBhw9uGHA.4472@TK2MSFTNGP02.phx.gbl...
>I have an application that gets values from the registery and populates
>textboxes on a form.
> I have also created a sub using textchanged event. which prompts the user
> to save their changes.
> The problem is that when the form loads and the textboxes are filled it
> triggers the textchanged event.
> I want the boxes to fill with the stored data and the change event to fire
> only after the user has made a change.
>
> Thanks
> Gonzo
>