View Full Version : Tab Control


MGillanders
11-29-2001, 02:59 AM
When a piece of data has been entered into a text box on a form, how i get it to select a certain tab on the form once the data has been entered.

Cheers Mark Gillanders

Rich
11-29-2001, 04:03 AM
SomeField.SetFocus in the after update event of the field you wish to trigger the event from.

raindrop3
11-29-2001, 04:07 AM
Hello,

You also can put the setfocus stuff in the 'On change' event. So if the text you are typing matches, it will automatically moves to the other control. (If textbox.text = "mytext" then othercontrol.setfocus.)

Greetings,

Albert