Browse DevX
Sign up for e-mail newsletters from DevX


VB.NET Faces Off Against Classic VB : Page 5

VB.NET, the .NET Framework, and Visual Studio.NET together form a potent combination that can simplify your code and reduce errors; however, to truly supplant existing versions of VB as a RAD tool, Visual Studio needs Break-Edit-Continue.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

Set the tab order of controls on a form
This task has been onerous in classic VB since its inception.

Classic VB:

VB uses a property called TabIndex to determine the order in which the focus moves from control to control as you press the tab key. The best way to set the tab order for multiple controls was to start with the control you wanted to be last in the tab order, and work your way toward the first control, assigning a TabIndex of 0 each time.


In contrast, in VB.NET, you set the tab order by clicking the Tab Order item on the View menu. You see a display like Figure 1. Next, click each of the controls in the preferred tab order. As you click the controls, the tab order numbers change. For example, if you wanted the tab order to move left to right, top to bottom, the form would look like Figure 2 when you finish.

Thanks for your registration, follow us on our social networks to keep up-to-date