p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

access thread: Alter the color of a ListBox selected line


Message #1 by kennyalligood@h... on Sat, 15 Jun 2002 15:57:43
Does anyone know how to alter the highlighted color of a ListBox selected 
row? Or, better yet, how about make each row a different color depending 
on certain criteria being met?

I thought I had seen this question here but after a check of the archives 
I couldn't find it. Any assistance would be greatly appreciated.

Thanx in Advance

Kenny Alligood
Message #2 by "Duncan" <duncan.faulkner1@b...> on Sat, 15 Jun 2002 16:37:08 +0100
Hi

Check out www.desaware.com I think that correct they had a number of
examples using the api to changes list boxes, combo boxes, etc...

Duncan

-----Original Message-----
From: kennyalligood@h... [mailto:kennyalligood@h...]
Sent: 15 June 2002 15:58
To: Access
Subject: [access] Alter the color of a ListBox selected line


Does anyone know how to alter the highlighted color of a ListBox selected
row? Or, better yet, how about make each row a different color depending
on certain criteria being met?

I thought I had seen this question here but after a check of the archives
I couldn't find it. Any assistance would be greatly appreciated.

Thanx in Advance

Kenny Alligood

Message #3 by "Kenny Alligood" <kennyalligood@h...> on Sun, 16 Jun 2002 15:19:29 -0400
------=_NextPart_001_0000_01C21549.355257E0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Duncan

I looked all over the site and didn't find any of the examples that you s
poke - do you have a direct link maybe??

Kenny

----- Original Message -----
From: Duncan
Sent: Saturday, June 15, 2002 11:35 AM
To: Access
Subject: [access] RE: Alter the color of a ListBox selected line

Hi

Check out www.desaware.com I think that correct they had a number of
examples using the api to changes list boxes, combo boxes, etc...

Duncan

-----Original Message-----
From: kennyalligood@h... [mailto:kennyalligood@h...]
Sent: 15 June 2002 15:58
To: Access
Subject: [access] Alter the color of a ListBox selected line


Does anyone know how to alter the highlighted color of a ListBox selected
row? Or, better yet, how about make each row a different color depending
on certain criteria being met?

I thought I had seen this question here but after a check of the archives
I couldn't find it. Any assistance would be greatly appreciated.

Thanx in Advance

Kenny Alligood


to unsubscribe send a blank email to G
et more from the Web.  FREE MSN Explorer download : http://explorer.msn.c
om

Message #4 by "Duncan" <duncan.faulkner1@b...> on Mon, 17 Jun 2002 12:49:42 +0100
This is a multi-part message in MIME format.

------=_NextPart_000_0026_01C215FD.73634530
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

Yes I did find it eventually, its in the spyworks demo - they are using
subclassing to control it. Not done to much with subclassing items.

found a few other links while looking for subclassing
http://www.codeproject.com/combobox/listboxex.asp

or

http://www.softcircuits.com/sw_tools.htm


unless you want to purchase spyworks that is

Duncan
  -----Original Message-----
  From: Kenny Alligood [mailto:kennyalligood@h...]
  Sent: 16 June 2002 20:19
  To: Access
  Subject: [access] RE: Alter the color of a ListBox selected line


  Duncan

  I looked all over the site and didn't find any of the examples that you
spoke - do you have a direct link maybe??

  Kenny

    ----- Original Message -----
    From: Duncan
    Sent: Saturday, June 15, 2002 11:35 AM
    To: Access
    Subject: [access] RE: Alter the color of a ListBox selected line

    Hi

    Check out www.desaware.com I think that correct they had a number of
    examples using the api to changes list boxes, combo boxes, etc...

    Duncan

    -----Original Message-----
    From: kennyalligood@h... [mailto:kennyalligood@h...]
    Sent: 15 June 2002 15:58
    To: Access
    Subject: [access] Alter the color of a ListBox selected line


    Does anyone know how to alter the highlighted color of a ListBox
selected
    row? Or, better yet, how about make each row a different color depending
    on certain criteria being met?

    I thought I had seen this question here but after a check of the
archives
    I couldn't find it. Any assistance would be greatly appreciated.

    Thanx in Advance

    Kenny Alligood



  --- Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

----------------------------------------------------------------------------
--
  Get more from the Web. FREE MSN Explorer download :
http://explorer.msn.com




Message #5 by ProDev <prodevmg@y...> on Mon, 17 Jun 2002 10:45:12 -0700 (PDT)
--0-1241938035-1024335912=:42029
Content-Type: text/plain; charset=us-ascii


 I checked also and ran into a brick wall. I'd be curious to see that link also.
Thanks,,,,,
 
 
  Kenny Alligood <kennyalligood@h...> wrote: Duncan I looked all over the site and didn't find any of the examples that
you spoke - do you have a direct link maybe?? Kenny ----- Original Message -----From: DuncanSent: Saturday, June 15, 2002 11:35
AMTo: AccessSubject: [access] RE: Alter the color of a ListBox selected line Hi

Check out www.desaware.com I think that correct they had a number of
examples using the api to changes list boxes, combo boxes, etc...

Duncan

-----Original Message-----
From: kennyalligood@h... [mailto:kennyalligood@h...]
Sent: 15 June 2002 15:58
To: Access
Subject: [access] Alter the color of a ListBox selected line


Does anyone know how to alter the highlighted color of a ListBox selected
row? Or, better yet, how about make each row a different color depending
on certain criteria being met?

I thought I had seen this question here but after a check of the archives
I couldn't find it. Any assistance would be greatly appreciated.

Thanx in Advance

Kenny Alligood


--- Change your mail options at http://p2p.wrox.com/manager.asp or 

---------------------------------
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com




Lonnie Johnson 
ProDev, Builders of MS Access Databases
http://www.galaxymall.com/software/PRODEV 




---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
Message #6 by "Kenny Alligood" <kennyalligood@h...> on Mon, 17 Jun 2002 13:56:20 -0400
------=_NextPart_001_0000_01C21606.C2563680
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanx for tracking that down for me and thanx for your help.

Kenny

----- Original Message -----
From: Duncan
Sent: Monday, June 17, 2002 7:45 AM
To: Access
Subject: [access] RE: Alter the color of a ListBox selected line

Hi,

Yes I did find it eventually, its in the spyworks demo - they are using s
ubclassing to control it. Not done to much with subclassing items.

found a few other links while looking for subclassing
http://www.codeproject.com/combobox/listboxex.asp

or

http://www.softcircuits.com/sw_tools.htm


unless you want to purchase spyworks that is

Duncan
-----Original Message-----
From: Kenny Alligood [mailto:kennyalligood@h...]
Sent: 16 June 2002 20:19
To: Access
Subject: [access] RE: Alter the color of a ListBox selected line


Duncan

I looked all over the site and didn't find any of the examples that you s
poke - do you have a direct link maybe??

Kenny

----- Original Message -----
From: Duncan
Sent: Saturday, June 15, 2002 11:35 AM
To: Access
Subject: [access] RE: Alter the color of a ListBox selected line

Hi

Check out www.desaware.com I think that correct they had a number of
examples using the api to changes list boxes, combo boxes, etc...

Duncan

-----Original Message-----
From: kennyalligood@h... [mailto:kennyalligood@h...]
Sent: 15 June 2002 15:58
To: Access
Subject: [access] Alter the color of a ListBox selected line


Does anyone know how to alter the highlighted color of a ListBox selected
row? Or, better yet, how about make each row a different color depending
on certain criteria being met?

I thought I had seen this question here but after a check of the archives
I couldn't find it. Any assistance would be greatly appreciated.

Thanx in Advance

Kenny Alligood



--- Change your mail options at http://p2p.wrox.com/manager.asp or to uns
ubscribe send a blank email to  


Get more from the Web. FREE MSN Explorer download : http://explorer.msn.c
om

--- Change your mail options at http://p2p.wrox.com/manager.asp or to uns
ubscribe send a blank email to  Get mo
re from the Web.  FREE MSN Explorer download : http://explorer.msn.com

Message #7 by "Duncan" <duncan.faulkner1@b...> on Tue, 18 Jun 2002 11:23:08 +0100
This is a multi-part message in MIME format.

------=_NextPart_000_001C_01C216BA.858C2E80
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi

the list box was in the spyworks demo, desaware are using sub classing to
control the coloring of lines, not sure how they achieve this as I've not
done much sub classing. You can try www.softcircuits.com the do a
subclassing ocx control thats free (and comes with the source code). no code
for changing the colors for a listbox though. But I suppose once you've got
a handle on the list box you should be able to intercept most of the list
boxex functionality

Duncan
  -----Original Message-----
  From: ProDev [mailto:prodevmg@y...]
  Sent: 17 June 2002 18:45
  To: Access
  Subject: [access] RE: Alter the color of a ListBox selected line


  I checked also and ran into a brick wall. I'd be curious to see that link
also.

  Thanks,,,,,





    Kenny Alligood <kennyalligood@h...> wrote:

    Duncan

    I looked all over the site and didn't find any of the examples that you
spoke - do you have a direct link maybe??

    Kenny

      ----- Original Message -----
      From: Duncan
      Sent: Saturday, June 15, 2002 11:35 AM
      To: Access
      Subject: [access] RE: Alter the color of a ListBox selected line

      Hi

      Check out www.desaware.com I think that correct they had a number of
      examples using the api to changes list boxes, combo boxes, etc...

      Duncan

      -----Original Message-----
      From: kennyalligood@h... [mailto:kennyalligood@h...]
      Sent: 15 June 2002 15:58
      To: Access
      Subject: [access] Alter the color of a ListBox selected line


      Does anyone know how to alter the highlighted color of a ListBox
selected
      row? Or, better yet, how about make each row a different color
depending
      on certain criteria being met?

      I thought I had seen this question here but after a check of the
archives
      I couldn't find it. Any assistance would be greatly appreciated.

      Thanx in Advance

      Kenny Alligood



    --- Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 

----------------------------------------------------------------------------
    Get more from the Web. FREE MSN Explorer download :
http://explorer.msn.com




  Lonnie Johnson
  ProDev, Builders of MS Access Databases
  http://www.galaxymall.com/software/PRODEV






----------------------------------------------------------------------------
--
  Do You Yahoo!?
  Sign-up for Video Highlights of 2002 FIFA World Cup --- Change your mail
options at http://p2p.wrox.com/manager.asp or to unsubscribe send a blank
email to 


Message #8 by "Kenny Alligood" <kennyalligood@h...> on Wed, 19 Jun 2002 09:55:55 -0400
------=_NextPart_001_0000_01C21777.81226FE0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Here is the reply that I got back -- good Luck...

Yes I did find it eventually, its in the spyworks demo - they are using s
ubclassing to control it. Not done to much with subclassing items.

found a few other links while looking for subclassing
http://www.codeproject.com/combobox/listboxex.asp

or

http://www.softcircuits.com/sw_tools.htm


unless you want to purchase spyworks that is

Kenny

----- Original Message -----
From: ProDev
Sent: Monday, June 17, 2002 1:45 PM
To: Access
Subject: [access] RE: Alter the color of a ListBox selected line

I checked also and ran into a brick wall. I'd be curious to see that link
 also. 
Thanks,,,,, 
 
 
  Kenny Alligood <kennyalligood@h...> wrote: 
Duncan

I looked all over the site and didn't find any of the examples that you s
poke - do you have a direct link maybe??

Kenny

----- Original Message -----
From: Duncan
Sent: Saturday, June 15, 2002 11:35 AM
To: Access
Subject: [access] RE: Alter the color of a ListBox selected line

Hi

Check out www.desaware.com I think that correct they had a number of
examples using the api to changes list boxes, combo boxes, etc...

Duncan

-----Original Message-----
From: kennyalligood@h... [mailto:kennyalligood@h...]
Sent: 15 June 2002 15:58
To: Access
Subject: [access] Alter the color of a ListBox selected line


Does anyone know how to alter the highlighted color of a ListBox selected
row? Or, better yet, how about make each row a different color depending
on certain criteria being met?

I thought I had seen this question here but after a check of the archives
I couldn't find it. Any assistance would be greatly appreciated.

Thanx in Advance

Kenny Alligood



--- Change your mail options at http://p2p.wrox.com/manager.asp or to uns
ubscribe send a blank email to  


Get more from the Web. FREE MSN Explorer download : http://explorer.msn.c
om



Lonnie Johnson 
ProDev, Builders of MS Access Databases
http://www.galaxymall.com/software/PRODEV 






Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup --- Change your mail 
options at http://p2p.wrox.com/manager.asp or to unsubscribe send a blank
 email to Get more from the Web.  FREE
 MSN Explorer download : http://explorer.msn.com


  Return to Index