Reply

TabControl

[ Edited ]

I find the "TabControl" a bit akward at times...

The command:

 

TabControl1.TabPages(0).Show()

 

works sometimes, but when it does, it only shows the content of TabPage(0) but does not actually switch the Tab focus , which can stay on Tab 2 for example.

 

My program, depending on the SE active file type, shows the right Tab, but the command doesn't work.

 

Should I try to do it differently?

 

Happy New Year to all

 

Posted by: Yoland Gagnon
Post date: 1/2/2006 7:01:06 AM

2 REPLIES

RE: TabControl

[ Edited ]

Yoland,

 

Use TabControl.SelectedIndex = x to set the selected tab index.

 

Posted by: Jason Newell
Post date: 1/3/2006 5:13:58 AM

RE: TabControl

[ Edited ]

Whoopidouu... works fine now, thx Jason

 

Posted by: Yoland Gagnon
Post date: 1/3/2006 5:54:26 AM