A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can't change the Back Color of my List Box



 
 
Thread Tools Display Modes
  #1  
Old April 9th, 2010, 06:10 PM posted to microsoft.public.access.forms
Cindy Minor-Jones
external usenet poster
 
Posts: 5
Default Can't change the Back Color of my List Box

Hello. I have created a MS ACCESS 2007 form that allows the user to update data. I converted 2 of the fields to list boxes. The BackCOlor is black and no matter what I have tried, it will not change. Has anyone else ever experienced this? Can any one tell me what I've done wrong?

---
frmsrcurl: http://msgroups.net/microsoft.public.access.forms/
  #2  
Old April 10th, 2010, 03:53 AM posted to microsoft.public.access.forms
Gina Whipp
external usenet poster
 
Posts: 3,500
Default Can't change the Back Color of my List Box

Cindy,

What happens if you add a list box can you change the BackColor?

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Cindy Minor-Jones" / wrote in message
...
Hello. I have created a MS ACCESS 2007 form that allows the user to update
data. I converted 2 of the fields to list boxes. The BackCOlor is black
and no matter what I have tried, it will not change. Has anyone else ever
experienced this? Can any one tell me what I've done wrong?

---
frmsrcurl: http://msgroups.net/microsoft.public.access.forms/

  #3  
Old April 10th, 2010, 12:27 PM posted to microsoft.public.access.forms
Peter Hibbs
external usenet poster
 
Posts: 871
Default Can't change the Back Color of my List Box

Cindy,

You are right, if you change the BackColor property and then run the
form immediately, the color does not change. If you change the color
and then save the form by clicking the Save icon (or just move the
cursor to another property) it then does make the color change.

Does this work for you?

Peter Hibbs.

On Fri, 09 Apr 2010 10:10:46 -0700, Cindy Minor-Jones
/ wrote:

Hello. I have created a MS ACCESS 2007 form that allows the user to update data. I converted 2 of the fields to list boxes. The BackCOlor is black and no matter what I have tried, it will not change. Has anyone else ever experienced this? Can any one tell me what I've done wrong?

---
frmsrcurl: http://msgroups.net/microsoft.public.access.forms/

  #4  
Old April 10th, 2010, 11:19 PM posted to microsoft.public.access.forms
Cindy Minor-Jones
external usenet poster
 
Posts: 5
Default Can't change the Back Color of my List Box

Peter thank you, I will try this. Gina - I will try adding a box and see what happens as well. Initially, I convert the text box that was associated with the field when I added it. I will try these things and let you know.

---
frmsrcurl: http://msgroups.net/microsoft.public...of-my-List-Box
  #5  
Old April 12th, 2010, 05:29 PM posted to microsoft.public.access.forms
Cindy MinorJones
external usenet poster
 
Posts: 1
Default Can't change the Back Color of my List Box

OK, now you're really goingto think I'm losing it but, I chang the back color to black with awhite font and when I run the form the back oolor is white with a black font! So the solution for me was to change the backolor nd font to the oppsite. I'll take t fornow but sure would ike to know f others have this problem and/or if it is somehing in my ettngs causing the problem.

---
frmsrcurl: http://msgroups.net/microsoft.public...of-my-List-Box
  #6  
Old April 12th, 2010, 09:41 PM posted to microsoft.public.access.forms
Peter Hibbs
external usenet poster
 
Posts: 871
Default Can't change the Back Color of my List Box

Cindy,

That is not what I see in my tests.

I have a List box control where the Back Color property shows #000000
and the Fore Color property shows #FFFFFF. When the form is run the
List box shows white text on a black background (except for the line
that has the focus, of course, which shows as black text on a white
background).

What are the values of those properties on your control. If they are
the same then there must be something else going on here.

Peter Hibbs.

On Mon, 12 Apr 2010 09:29:27 -0700, Cindy MinorJones
/ wrote:

OK, now you're really goingto think I'm losing it but, I chang the back color to black with awhite font and when I run the form the back oolor is white with a black font! So the solution for me was to change the backolor nd font to the oppsite. I'll take t fornow but sure would ike to know f others have this problem and/or if it is somehing in my ettngs causing the problem.

---
frmsrcurl: http://msgroups.net/microsoft.public...of-my-List-Box

  #7  
Old April 14th, 2010, 05:46 PM posted to microsoft.public.access.forms
Cindy Minor-Jones
external usenet poster
 
Posts: 5
Default Can't change the Back Color of my List Box

Peter - The values for the fields that I added to the form from my table and did NOT convert to list boxes are BackColor #FFFFFF and ForeColor#000000. When I run my form they show up with white background black text, they also look this way in Design view.

The fileds that I brought from my table and converted to the list boxes are (opposite)BackColor #000000 and ForeColor#FFFFFF. This also gives me the same result as above, white background with black font, when I run the form only. In design view the list boxes are showing up with Blackground and White font.

I know, it is bizarre.

---
frmsrcurl: http://msgroups.net/microsoft.public...of-my-List-Box
  #8  
Old April 14th, 2010, 06:48 PM posted to microsoft.public.access.forms
Cindy Minor-Jones
external usenet poster
 
Posts: 5
Default Can't change the Back Color of my List Box

Oh boy, I think I know what it is, it is the list box selector bar. Now, it stays black once a person changes the selection. And, since I have 2 listboxes, if they make changes in both, box boxes stay black. This looks terrible. At least I know what it is now. I can work on a solution.

---
frmsrcurl: http://msgroups.net/microsoft.public...of-my-List-Box
  #9  
Old April 14th, 2010, 10:17 PM posted to microsoft.public.access.forms
Peter Hibbs
external usenet poster
 
Posts: 871
Default Can't change the Back Color of my List Box

Cindy,

I don't know what else to suggest as I tried the same thing and it
seems to work OK. Perhaps the form is corrupted or maybe there is some
setting that is causing this. Perhaps you should start a new form and
see what happens then (and don't convert a Text box to a List box just
in case that is the problem).

Perhas someone else has another suggestion.

Peter Hibbs.

On Wed, 14 Apr 2010 09:46:01 -0700, Cindy Minor-Jones
/ wrote:

Peter - The values for the fields that I added to the form from
my table and did NOT convert to list boxes are BackColor #FFFFFF
and ForeColor#000000. When I run my form they show up with
white background black text, they also look this way in Design view.

The fileds that I brought from my table and converted to the list
boxes are (opposite)BackColor #000000 and ForeColor#FFFFFF.
This also gives me the same result as above, white background
with black font, when I run the form only. In design view
the list boxes are showing up with Blackground and White font.

I know, it is bizarre.

---
frmsrcurl: http://msgroups.net/microsoft.public...of-my-List-Box

  #10  
Old April 14th, 2010, 11:16 PM posted to microsoft.public.access.forms
Peter Hibbs
external usenet poster
 
Posts: 871
Default Can't change the Back Color of my List Box

Cindy,

Interesting. Let us know how you get on, it could be useful for other
programmers in the future.

Peter Hibbs.

On Wed, 14 Apr 2010 10:48:11 -0700, Cindy Minor-Jones
/ wrote:

Oh boy, I think I know what it is, it is the list box selector bar. Now, it stays black once a person changes the selection. And, since I have 2 listboxes, if they make changes in both, box boxes stay black. This looks terrible. At least I know what it is now. I can work on a solution.

---
frmsrcurl: http://msgroups.net/microsoft.public...of-my-List-Box

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.