LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there way to display multi color text in text box

Like the listbox using escape codes, where different lines have different
colors? I can't use Listbox as it does not allow horizontal scrolling and I
don't have enough space on the front panel.



vishi
0 Kudos
Message 1 of 4
(3,490 Views)
Not that I know of. However there is a way to display multi color entries in the ListBox. I'm not sure which one you are using but I'd suggest you look at the shipping example samples\userint\listdelx.prj. It handles escape codes and multi-color entry.

Regards,
Azucena
0 Kudos
Message 2 of 4
(3,490 Views)
Although Listbox does not have a built-in horizontal scroll bar, you can use TOOLSLIB scrollbar control to add a custom horizontal scroll bar on Listbox. Here is the link to the example that demonstrates how to use TOOLSLIB scrollbar control:

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3D7E756A4E034080020E74861&p_node=DZ52148&p_submitted=N&p_rank=&p_answer=&p_source=External

Please note that checkmarks probably will not scroll, though.

Mika Fukuchi
Application Engineer
National Instruments
0 Kudos
Message 3 of 4
(3,490 Views)
Thanks again.

For some reason I haven't found it easy to use NI's search features on
Discussion Forums. It's not like standard search they way you do on yahoo or
google.


vishi

"mfukuchi" wrote in message
news:5065000000050000005CDA0000-1042324653000@exchange.ni.com...
> Although Listbox does not have a built-in horizontal scroll bar, you
> can use TOOLSLIB scrollbar control to add a custom horizontal scroll
> bar on Listbox. Here is the link to the example that demonstrates how
> to use TOOLSLIB scrollbar control:
>
>
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3D7E
756A4E034080020E74861&p_node=DZ52148&p_submitted=N&p_rank=&p_answer=&p_sourc
e=External
>
> Please note that checkmarks probably will not scroll, tho
ugh.
>
> Mika Fukuchi
> Application Engineer
> National Instruments
0 Kudos
Message 4 of 4
(3,490 Views)