LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change scrollbar color

I am trying to figure out away to modify the appearance of scrollbars. Ideally I would like to do this just for one particular VI, but temporarily changing the LabVIEW options would also be acceptable.

 

According to this page http://zone.ni.com/reference/en-XX/help/371361E-01/lvdialog/color_options/, I should be able to change the scrollbar color from the Options Dialog Box. However, the Colors category is not present for me. (I'm using version 9.0 and the article was written for 8.6. Maybe something changed?)

 

Any help would be greatly appreciated, thanks in advance! 

0 Kudos
Message 1 of 6
(4,494 Views)

UPDATE: I found the aforementioned color options in the Environment category but the scrollbar color option doesn't seem to have any effect.

0 Kudos
Message 2 of 6
(4,490 Views)

Try Tools>>Options>>environment and scroll to the bottom of the page.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 3 of 6
(4,489 Views)

I tried that but it doesn't seem to do anything. Is there a way to separately change the scrollbar foreground and background colors?

0 Kudos
Message 4 of 6
(4,470 Views)

That setting in the Options page actually refers to the scrollbar of the VI's front panel and block diagram scrollbar, and not to the scrollbar control. The scrollbar controls are "system" controls, and hence adapt to the operating system. If you try to customize the scrollbar in the Control Editor, you can't change to customization mode, and hence there is no method for changing the color. I know one suggestion that I've heard in the past is to use an alternate control, like a slider, which can be customized.

0 Kudos
Message 5 of 6
(4,459 Views)

I suspected that was the case - thanks for your reply. I'm using the scrollbars as paddles for a "Pong" game, but maybe I'll just display them on the XY graph instead.

0 Kudos
Message 6 of 6
(4,450 Views)