From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-22-2016 02:03 AM
Hi, please explain the difference between two operations explained below. For reference I have attached tow images here.
Theoretically, as per help page in labview, When i set ' allow multi colors property ' to true, i can change the colors of the page in tab control. But here, program runs in a reverse way. When I set that property to false and run a program, tab control object in front panel will change to the color i have given(First image with bule color tab control). When set to true and run a program, it gets defualt color( second image, default tab control). I don't know how it happens, help me. Thanks in advance
Solved! Go to Solution.
08-22-2016 02:27 AM
Hello dhans,
In tab controller user can add number of tabs. If you want to change the FG color of all tabs as a same color then the multicolor property node is used and it should be set as FALSE.
Whenever you want to change the single tab FG color then you should make multicolor property as TRUE.
Attached snap for both...
08-22-2016 02:39 AM
Hi, thanks for reply. But I did run program as u said. But no change is happened at front panel side. It still remains as second image attached in above. default tab control only appears. Is there anything in program i need to change?
08-22-2016 02:48 AM
Attach VI Instead of Image,
Make sure you are aware of execution of property node (Top Down), if you attach the code which you have tried it will helpful for others to run and debug
08-22-2016 03:19 AM - edited 08-22-2016 03:22 AM
You should get the Tab Page reference and change the color individually if you want.
-Set the Allow Multiple Colors to TRUE: https://zone.ni.com/reference/en-XX/help/371361J-01/lvprop/tabctrl_allow_multi_clrs/
-Get Each Page reference:https://zone.ni.com/reference/en-XX/help/371361J-01/lvprop/pagesel_pgs/
-Then choose color as you want : https://zone.ni.com/reference/en-XX/help/371361J-01/lvprop/page_clrsfg_clr/
08-22-2016 03:39 AM
Thanks a lot buddy
08-22-2016 04:29 AM
Hi everyone,
I have a .vi in which long ago I experienced some of the TAB control properties.
I am attaching hoping helpful