Focus to the control

m_nathani

Member
Joined
Apr 15, 2003
Messages
11
Location
india
Hi everybody,


I have put tabcontrol on my form with three tabpages.
when i click on button from any tabpages, cursor should focus on first tabpages first control.
 
use this:

Code:
Me.tbcWhatEver.SelectedTab = Me.tbcWhatEver.tbpYourFirstTabPage
 
Back
Top