Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Aug 16, 2017 4:42 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Showing different tabs
PostPosted: Mon May 27, 2013 9:17 am 
Offline

Joined: Fri Nov 18, 2005 11:35 am
Posts: 23
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Showing different tabs
PostPosted: Mon May 27, 2013 10:51 am 
Offline
User avatar

Joined: Mon Apr 02, 2007 2:08 am
Posts: 1225
Location: San Francisco, CA, USA
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.

_________________
Boredom Software


Top
 Profile  
Reply with quote  
 Post subject: Re: Showing different tabs
PostPosted: Mon May 27, 2013 11:09 am 
Offline

Joined: Fri Nov 18, 2005 11:35 am
Posts: 23
Thank you very much !


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group