Skip to main content
1-Visitor
January 31, 2011
Question

Listbox color (script)

  • January 31, 2011
  • 1 reply
  • 3459 views

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

1 reply

19-Tanzanite
January 31, 2011

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.

1-Visitor
January 31, 2011

Well that is annoying, and seems inconsistent.

Thanks for the quick reply anyway,

Amy