NOTICE: Our Community is moving. Get more information.
TESTAUTOTABThis example program demonstrates one method of implementing an autotab function to move between controls when a TextBox field is filled to iots maximum length. There are 4 TextBox controls on the form and each has its maxlength property set to 3. Everytime a character is entered into one of the TextBox controls a TextChange event is triggered. Each of the TextBox controls has the method check_TextChanged set as its event handler. The eventhandler checks the current length of the TextBox control against its maximum size and if they are equal it generates a Tab key press using the SendKeys::Key method.