LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

highlighting row / text in string indicator

Hi dear wireworkers,
 
Find attached a small part of code where I step through a Table of commands, that should be executed by a Chip.
Up to now I could not find a possibility to highlight a single row of the "string with cmd's"  on the right hand side of my  vi.
This "string with cmd's" should behave in the same way like the Table.
Are there somewhere properties for doing this - like done in the "Table with cmd's"  ???
 
I would prefer to use the string Control, because it is easier for editing   ( copy/paste etc. )  
 
Any good ideas, hints  are welcome.               
 
Have a nice weekend.
Regards
Werner 
 
0 Kudos
Message 1 of 3
(5,274 Views)
I could not find a way to change the background color behind a selected range of chars in a string. However, there is the possibility to change the font attributes (bold on/off and color), as shown in the attached vi.
The highlight button is there to test the standard highlighting of a selected area. It's rather ugly...
Chilly Charly    (aka CC)
Message 2 of 3
(5,255 Views)
Hi chilly charly,

many thanks for your  answer - it is close to that, what I was looking for...................

I think, I can live with it.  The advantage of having a String Control at this position is
more important than having a changed background - color.

The only  bad point of your answer was ..... I had to install LV8.2  ;  I have used LV7.1.1 until now.
But sometimes a simple thing causes  big changes.

Thanks again - and    5 points for you.

Regards
Werner
0 Kudos
Message 3 of 3
(5,242 Views)