Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15523

VS 2010 two events occur in the same time which will occur first

$
0
0
I got
Code:

Textbox1_LostFocus
Textbox1.text = "10"

and
Code:

Button1_Click
Textbox1.text = (CDec(Textbox1.text) + 5).ToString("N2")

Assume I type 20 in textbox, Then I press the button
What will I get ? 15 or 25
Can you also explain which event occur first(or which doesn't occur)?
Thank you
P.S. although it is 2021, I am still new to vb2010, haha :wave:

Viewing all articles
Browse latest Browse all 15523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>