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.
03-15-2012 10:36 AM
Colleagues,
Pretty simple question about control's customization. How to change the color of selection? By default it inverted and appeared black:
What I need is something like that:
Strange I haven't found any suitable property... Is it possible, or I wanted too much from LabVIEW?
Andrey.
03-15-2012 11:05 AM
I think this is a function of the OS. In Windows, the selection background color seems to be the complement of the normal background of the selected text.
I've seen several references to this, but can't find an authoritative link at the moment.
I tested it with this quick VI... (LV 8.6)
03-15-2012 11:05 AM
03-15-2012 11:32 AM
Thank you.
You're correct - this is inversed color depends from the color of background.
It can be changed in Windows Settings and works, for example in WordPad (and in Notepad as well):
But no effect in LabVIEW (also no effect, when System String used instead of Modern).
This probably will work for RichText or similar system component from OS, but using ActiveX or .net control for every string - no, thanks...
03-15-2012 12:15 PM
And what is funny - it works for Rings, Enums, etc:
But not for Text Selection.