What is the code in vb for enabling focus on certain objects like textboes, datetimepickers, or combo boxes until certain condition are met. Let's say,
Textbox A has the number "11", but the condition was if >= 10, then a messagebox will prompt user, followed by the user are unable to select other textboxes or buttons until the condition is met.
Is this possible in Visual BASIC? If so, how do we enable this function.