05-13-2009 09:15 AM
Hi everybody,
How do I avoid refreshing controls on inactive tab page(s)?
Is there any method to decide which page is active on a tab control?
Thanks!
Solved! Go to Solution.
05-13-2009 09:20 AM
Yes, use the terminal for the tab control to tell you whcich tab is visable.
Ben
05-14-2009 02:43 AM
Hello Ben,
You're right, but me fuzzy...
There are indicators (not controls) on tab pages.
As the numerical results of the indicators needs calculation/time I'd like to perform just what's neccessary, ie. which on the page the user has selected.
I hope now I'm clear. So the subject would be 'not refreshing indicators on inactive pages'
Thanks!
05-14-2009 02:59 AM
There is no such option/property to do that. But programatically find which tab is active by using the property/local variables and put all the indicators in a case structure in respective cases for each tab.
When particular tab is active automatically the indicators corrosponding to tht page will get 'refreshed'(updated)
05-14-2009 04:15 AM
Thank you JK. It works.
Something misled me when I read the local variable of the tab.
If I created indicator of the variable then it gave me the value of indicators of a particular tab. Wiring the variable to a case structure is different.