B
Brad Pears
I have a listbox and when it is set to enabled = false, I would like to have
the text in the listbox be greyed out as well. Currerntly this does not
happen for a list box as it does for text box, combo boxes etc... When you
disable a listbox, the text in the listbox remains normal or bold - whatever
it was set to - just the background changes to a "gray" colour.
So, in light of that, I tried setting the listboxes fontweight in code and I
could get it to "bold" the text but could not get it any lighter than the
normal setting of "200".
I did notice one strange thing while testing, when I set the different
weights in the properties area for the listbox to extralight, light, normal
and medium, the text weight was the same for all!!! It wasn't until I set it
to semi bold that I saw a difference. Could this be related to a font issue
on my computer perhaps?
Any ideas?
Thanks Brad
the text in the listbox be greyed out as well. Currerntly this does not
happen for a list box as it does for text box, combo boxes etc... When you
disable a listbox, the text in the listbox remains normal or bold - whatever
it was set to - just the background changes to a "gray" colour.
So, in light of that, I tried setting the listboxes fontweight in code and I
could get it to "bold" the text but could not get it any lighter than the
normal setting of "200".
I did notice one strange thing while testing, when I set the different
weights in the properties area for the listbox to extralight, light, normal
and medium, the text weight was the same for all!!! It wasn't until I set it
to semi bold that I saw a difference. Could this be related to a font issue
on my computer perhaps?
Any ideas?
Thanks Brad