05-05-2011 06:06 PM
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!
05-05-2011 06:23 PM
UPDATE: I found the aforementioned color options in the Environment category but the scrollbar color option doesn't seem to have any effect.
05-05-2011 06:26 PM
Try Tools>>Options>>environment and scroll to the bottom of the page.
05-06-2011 08:59 AM
I tried that but it doesn't seem to do anything. Is there a way to separately change the scrollbar foreground and background colors?
05-06-2011 09:42 AM
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.
05-06-2011 11:12 AM
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.