Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box - Color Problem 1

Status
Not open for further replies.

pmp1

Programmer
Jun 17, 2007
29
AU
I have searched the logs for my problem without success. I am running Access 2007 on Vista Business. I am using a new Lenovo laptop with 2Gb ram etc - no spec/performance issue.

I have a small database with two forms. One form works perfectly, however, the other form causes me problems in Form View. If I make a selection in any one of the five combo boxes on the problem form and either tab or use the mouse to move to another text/combo box, the combo box changes color to the background color of the form, i.e. light blue (#CCECFF). The color of the combo boxes also change if I open the other form over the top of this problematic form and then move it (the good form) or minimise it. Only the combo boxes change color, not the other four text boxes.

I would very much appreciate some idea as to what I may have done to cause this?

Regards

Peter
 
Paul,
Thank you for the pointer to the BUG. I have had a read and tried to implement the work around, however, I don't understand the fix set AlternateBackColor to another color. I don't think ComboBoxes have an AlternateBackColor property.

I apologise for my lack of understanding and would appreciate a little more assistance.

Thanks

Peter
 
From the link referenced by pbaldy:

[tt]Workaround: set the AlternateBackColor property of the the (Detail?) Section to something other than "No Color", e.g. #80000027.[/tt]

In other words change the AlternateBackColor property of the section of the form (usually the Detail section) in which the ComboBox appears to something other than "No Color".
 
Thank you very much for your explanation. I was too focused on the combo box to relaise the fix was associate with detail section.

Thanks again - all is well.

Regards

Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top