Vb net validating event

This is easy to do: in the Visual Studio forms designer, doubleclick the button so it opens a code window.

The cursor will blink inside the event handling method.

Button Handle = Find Window Ex(Window Handle, 0, "Button", "&Yes"); //send a message to the button that you are "clicking" it.For example, consider the following VB6 code: Private Sub Text1_Got Focus() Text1.Back Color = vb Yellow End Sub Private Sub Text1_Lost Focus() Text1.Here, you just type: Sorry if my article didn't help you to better understand event handling in VB. My article is indeed more aimed to be a checklist for event handling rather than an explanation of the mechanics behind it.Are you looking for an easy article for beginners or do you look for an advanced in-depth analysis ? So I was looking the internet for an explenation, don't get me wrong, the article is good, but as you said, you explained the mechanics, but for me (I've never worked with Event Handeling) the mechanics needed a bit of extra examples on how to use them.

Leave a Reply