Hi,
Iv got a tab control on my form.
On each tab is a variety of text boxes. When i click/select a tab, i would like to set the focus to a particular text box within that tab.
There appears to be the option to add an 'on-click' command, but this doesn't appear to work for me.
For example, on my Tab1 on-click event i have:
Me.Textbox1.setfocus
Text box1 is on 'Tab1' and i would like the focus to be automatically set to this text box when the tab is clicked. Any suggestions on how i can make this work?
many thanks,
Iv got a tab control on my form.
On each tab is a variety of text boxes. When i click/select a tab, i would like to set the focus to a particular text box within that tab.
There appears to be the option to add an 'on-click' command, but this doesn't appear to work for me.
For example, on my Tab1 on-click event i have:
Me.Textbox1.setfocus
Text box1 is on 'Tab1' and i would like the focus to be automatically set to this text box when the tab is clicked. Any suggestions on how i can make this work?
many thanks,