LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change color

Hi,
 
How to change the page color of the tab control without use the color box??
As build into exe, the color still can change and i'll like to have fixed color.
 
thanks and regards,
 
0 Kudos
Message 1 of 9
(4,326 Views)
Remove the background decoration. Right-click on the page selector of the tab control >> Advanced >> check Allow Multiple Colors. Take care that this is not possible with the System Tab Control because the color is set by the OS in this case.



It is now possible to set a different color for every page while in the development mode. If needed, the colors could be changed in the EXE through the Colors property node.


Message Edité par JB le 01-29-2008 09:26 AM

Message Edité par JB le 01-29-2008 09:29 AM
0 Kudos
Message 2 of 9
(4,310 Views)
Hi Simon,

you may change the colors using property nodes - but this will affect the whole tab control (including the page selector[s])!
So if you still need just a colored rectangle the colorbox will provide an easy way to achieve this.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 9
(4,308 Views)

Hi guys,

Thank for the help. I discovered if just copy the color text box from word document and paste it and it works also.

once, thanks again.

regards,

 

 

0 Kudos
Message 4 of 9
(4,291 Views)
... and if you make the Colorbox an indicator, it should not be changeable by the user.
greets, Dave
Greets, Dave
0 Kudos
Message 5 of 9
(4,286 Views)
Nothing to do with the Colorbox...

Dave, you seem to have an interesting job !

0 Kudos
Message 6 of 9
(4,278 Views)
I agree with JB. Even change to indicator, i also can change the color in .exe.
 
Hi JB,
 
How can I create the color pages tab as show in picture above??
 
thanks and regards,
 
 
0 Kudos
Message 7 of 9
(4,273 Views)
Yes, I really appreciate working here Smiley Very Happy
greets, Dave
Greets, Dave
0 Kudos
Message 8 of 9
(4,272 Views)
  1. Follow above mentionned steps to check Allow Multiple Colors
  2. Select a page of the tab control
  3. Select the brush in the Tools palette (shift + right-click if the palette is not visible) --> cursor changes to brush
  4. Right-click on the page to display the color selection window and select the color
   
That's all !

0 Kudos
Message 9 of 9
(4,268 Views)