Real Software Forums
http://forums.realsoftware.com/

Showing different tabs
http://forums.realsoftware.com/viewtopic.php?f=1&t=47986
Page 1 of 1

Author:  cuddapah [ Mon May 27, 2013 9:17 am ]
Post subject:  Showing different tabs

Need some help with tabs ...
My app has several windows. One of the windows has 5 tabs. When I show the window with tabs, by default the first tab is shown. Depending where it is clicked in other windows, I have to show one particular tab in the window. How can I do this. Appreciate any help.

Author:  charonn0 [ Mon May 27, 2013 10:51 am ]
Post subject:  Re: Showing different tabs

Set the TabPanel's value property to the tab number you want to show. For convenience, you can add a method to the window, e.g.:

Sub ShowTab(TabNumber As Integer)
TabPanel1.Value = TabNumber
Me.Show()
End Sub


The first tab is tab 0.

Author:  cuddapah [ Mon May 27, 2013 11:09 am ]
Post subject:  Re: Showing different tabs

Thank you very much !

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/