textchanged event

G

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
 
M

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top