|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
textchanged eventI 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 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 >
MessageBox in Validating event cancels subsequent events
Referencing Controls created at run time. Dataset Drawstring question... Description of Function End all running code of .dll Class item not accessible because it's private... but it's not? How do I send null values to an integer type variable? Writing to a file opened in another class Multi-level TreeNode storing? |
|||||||||||||||||||||||