Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / August 2004

Tip: Looking for answers? Try searching our database.

ListBox-like Control that allows individually colored lines?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Loveless - 23 Jul 2004 16:19 GMT
I need the capability to color (or otherwise denote visually)
individual lines of a list box (either foreground, i.e. the text, or
background would be fine) for Access 2000 and up.  Is there any such
animal out there?

Any help greatly appreciated.  TIA.

Mark Loveless
Reluctant Access Programmer
mark.loveless@pmilends.com
Van T. Dinh - 23 Jul 2004 17:21 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.