Page 1 of 1

Tab Names

Posted: Fri Dec 19, 2014 1:14 pm
by rjiron
Tab Panels: I’m working with tab panels and I have different tabs, such as Tab1, Tab2, and Tab3 and so on; when I try to bind the Tab Names to a Program field, it’s grouping all in one name. My question is there is a way to bind unique Tab names to each individual tab?

Re: Tab Names

Posted: Fri Dec 19, 2014 1:19 pm
by Scott Klement
The tab names property is a comma-separated list of all of the tab names. So you can bind this to a variable, and use it to change the names from your program easily enough, you just have to make sure you put all of the tab names in there, separated by commas.

For example, if the 3rd tab name is to change based on some variable logic in your program, you could do:

Code: Select all

   tab3name = 'The Cool Tab';
   tabNames = 'Tab 1,Tab 2' + %trim(tab3name) + ',Tab 4';

Re: Tab Names

Posted: Fri Dec 19, 2014 1:27 pm
by rjiron
Thank you so much Scott.