Monday, December 7, 2009

Set Cursor moves to the desired location in VB2008


Writing the code requires Cursor moves to the desired location that is writing code to facilitate users in data entry program. Steps are as follows



Samples : when the input "Serial No." Then Paul hit the keyboard "Enter" and then to move the Cursor "Task No."


Step.

1. Into writing code objects to do is sample "txtSerial" event "KeyDown".
2. Writing code has the following 2 formats.
 Option 1 The name of the object to move the Cursor


 
 
Option 2 Use "Sendkeys" will work as we hit the keyboard "TAB" This must be set to the number of Tab Index sorted correctly with.

 
 

Applied to work to get the program easier to use.
Thai Version
Thank you,
Worawut   Bunwang

No comments:

Post a Comment