cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Listbox color (script)

ptc-2712887
1-Newbie

Listbox color (script)

Is there a way to color the background of a listbox based on input variables?

I know I have used

TextBox.BackColor

for a textbox;

I was hoping

ListBox.BackColor

would work for a listbox, but that does not appear to be supported.

Amy

2 REPLIES 2
RichardJ
19-Tanzanite
(To:ptc-2712887)

Is there a way to color the background of a listbox based on input variables?

Not a Mathcad listbox, no. You could use a MSForms 2,.0 listbox (the one used for VBA programs in MS Office) instead, which does have that property.

Well that is annoying, and seems inconsistent.

Thanks for the quick reply anyway,

Amy

Top Tags