Try Stephen Lebans' Web site:
http://www.lebans.com/List_Combo.htm

Signature
HTH
Van T. Dinh
MVP (Access)
> I need the capability to color (or otherwise denote visually)
> individual lines of a list box (either foreground, i.e. the text, or
[quoted text clipped - 6 lines]
> Reluctant Access Programmer
> mark.loveless@pmilends.com
Stephen Lebans - 23 Jul 2004 21:27 GMT
That was really a project that never satsified me Van. I always
reccommend using a SubForm with Conditional Formatting setup to look/act
like a ListBox control.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
> Try Stephen Lebans' Web site:
>
[quoted text clipped - 15 lines]
> > Reluctant Access Programmer
> > mark.loveless@pmilends.com
Van T. Dinh - 24 Jul 2004 12:11 GMT
Thank, Stephen

Signature
Van
> That was really a project that never satsified me Van. I always
> reccommend using a SubForm with Conditional Formatting setup to look/act
[quoted text clipped - 7 lines]
> Access Code, Tips and Tricks
> Please respond only to the newsgroups so everyone can benefit.
mal - 03 Aug 2004 12:49 GMT
Just a thought folks :
I needed to set the color of a listbox item that depends on a value of
another item that is not visible. In practice I was listing hyperlink
names, but not showing the actual hyperlinks themselves (a non visible
field from the database).
Setting up a single row subform I can then use conditional formatting
on the field that is visible and use the
Expression is .... [OtherField] > " " (or whatever)
and can set the text to underscore blue indicating a hyperlink.
I'm sure that using 'Expression is' will help a lot of folks who want
colors depending on other control values on the form.
The hyperlink is not relevant to this thread but for those that are
interested:
Application.Followhyperlink (myhyperlinkfield)
Mine is a simple example but could be extended to have multiple colors
depending on different control values for different rows in the
subform(what now looks like a listbox!)
Cheers
> Thank, Stephen
>
[quoted text clipped - 9 lines]
> > Access Code, Tips and Tricks
> > Please respond only to the newsgroups so everyone can benefit.