The method described above will certainly work for you. However, if you are using a case structure based on your the value of the tab control, there is a better way. I've attached a VI which gives you an example of how to use property nodes to perform the same functions. Property nodes will not work if you are not using the case structure due to the fact that you would only be able to control it one way or the other. Hope this helps.
Adam B.
Applications Engineer
National Instruments