01-17-2012 08:44 PM
If you have a Tab Control that has 3 tabs for example, I am wondering how do you go about determining if the 3rd tab is selected? For example, I would like to use a True/False boolean output depending on if the 3rd tab is selected...if the tab is selected the boolean reads true, if not then false. I imagine that this has to do with creating a tab control property node, but I am not sure which one would apply to this situation. Any help would be appreciated.
Solved! Go to Solution.
01-17-2012 08:50 PM
A tab page has a terminal on the block diagram that can be read and checked to see if a particular tab is selected. See the code below. This is the easiest way to do what you would like to do.
Rob
01-17-2012 08:52 PM
hmmmm...
look at the tab controls value. if it equals 3 then tab 3 is active. (I can't resist)
"Can't touch this!"
01-17-2012 08:56 PM
Exactly what I was looking for. Thanks a bunch!