text box/list box font weight issue



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



.



Relevant Pages

  • Re: text box/list box font weight issue
    ... I'm seeing only slight variations going from extra bold to extra light. ... In view of the fact you're already in code, try setting the font color ... have the text in the listbox be greyed out as well. ...
    (microsoft.public.access.formscoding)
  • Re: text box/list box font weight issue
    ... In view of the fact you're already in code, try setting the font color ... have the text in the listbox be greyed out as well. ... the text in the listbox remains normal or bold - ... weights in the properties area for the listbox to extralight, light, ...
    (microsoft.public.access.formscoding)
  • RE: Bold in Listbox
    ... MS MVP - Excel ... "Lacklustre" wrote: ... If i use the bold.value it applies it to the entire listbox. ... > I want to make the third entry to be bold but the first one not. ...
    (microsoft.public.excel.programming)
  • Formatting for Word Output doc
    ... But I don't know how to format the data in the word document. ... it's just a dump of the data from the listbox. ... How can I format the below to have bold cust id, ... Customer Name: ABC ...
    (microsoft.public.access.formscoding)
  • Format Output to Word From Listbox
    ... But I don't know how to format the data in the word document. ... it's just a dump of the data from the listbox. ... How can I format the below to have bold cust id, ... Customer Name: ABC ...
    (microsoft.public.access.formscoding)