Vb net combo box validating

In an episode of "Kung Fu" with David Carradine (many years ago) his "master" said "For every good turn given, do two in return. Joe “Theory is when you know something, but it doesn't work.In this way, good deeds travel outwards like the ripples created on a pond by a single stone" (or words to that effect). Practice is when something works, but you don't know why.

vb net combo box validating-11vb net combo box validating-24

The List Box portion of the Combo Box remains hidden until the Combo Box receives focus and the user clicks the down arrow on the text box.

What happens is that if i don enter any record and tab out then it takes the first record .

If i enter a wrong record and tab out then also it takes the first (and only record) if( !

I shall read about Validating event handlers and e.cancel and get back to u about this one. If your function is being called from the Validating event handler then it needs to return a boolean value that indciates whether the control passed validation or not.

Your code would look something like this: Notice that if the combo box passes validation the function returns True and e.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “vb net combo box validating”

  1. The same goes for your wandering eyes, if they go anywhere below eye level I will ask you to leave the premises as soon as possible, if you do not comply I will take action that I feel is necessary (i.e. Rule #3 I am aware that the so-called latest fashion trends mean that you wear your jeans several sizes too big so that your underwear shows or that you wear jeans known as "girl pants" for boys that are so tight they contour every area of your lower extremities and also expose your underwear.