online dating site in toronto - Vb net validating event not firing

by  |  10-Jan-2020 21:03

I've attempted to condense the code down to a reasonable example... hopefully there is something obviously wrong about what I'm doing here: Change submit. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Hello, I am creating few dynamic textboxes and a Button control.

vb net validating event not firing-11vb net validating event not firing-3

Vb net validating event not firing

This form is just a menu and a series of textboxes and labels.

My problem is: When I edit stuff in the textboxes, then click the menu to issue "Save", the text from the last text box still hasn't issued its "Validating" method.

This appears to be because the control still has focus, and that the menu is in a separate thread.

How can I force the validating events to fire when the user clicks "save"?

In method which handles "text changed" event for tb1 you can put code which while editing change value in tb2 to be complementary to 100 and vice versa editing tb2 will cause automatic change in tb1.

Community Discussion