Tabcontrol Tabindex |
Post Reply |
Author | |
markmark
Senior Member Joined: 30 November 2007 Status: Offline Points: 142 |
Post Options
Thanks(0)
Posted: 31 July 2008 at 4:58am |
Hi The controls on tabs that are NOT selected do not appear on the tab index. What I would like to do is, if a user is tabbing between controls and the next control is in a hidden tab on the tabcontrol then the gotfocus on the control will set the correct Tab selected index. Does that make sense? If I manually set the focus of a control txtText1.setfocus that is on a NON visible tab I get an error. Only if that control is visible on the tab does it work. If I look at the .visable property I see that a NON visible tab the controls are set to .visible = false, which explains the error. So how do I getting the tab order to display the correct Tab? Thanks for your help. MArk
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
Don't set the focus to controls that aren't visible, so:
If I misunderstood, then maybe you have a sample project that is causing the error that I could look at? |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |