textchanged event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gonzosez

    #1

    textchanged event

    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


  • Marina Levit [MVP]

    #2
    Re: textchanged event

    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.

    "gonzosez" <adfwrote in message
    news:ePzBhw9uGH A.4472@TK2MSFTN GP02.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
    >

    Comment

    Working...