Solved

TreeView Background Color - How to set?

Posted on 1998-06-30
1
316 Views
Last Modified: 2012-08-14
I'm using the MS TreeView control in an Access database. I'd like to be able to set the background color to something other than white.  The treeview object doesn't seem to support the Backcolor property.  Is there another way?
0
Comment
Question by:PinnaclePr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
yowkee earned 150 total points
ID: 1464642
PinnaclePr,

  Take a look at this page:
http://www.mvps.org/vbnet/code/comctl/tveffects.htm

  Basically you could set treeview background color by sending message TVM_SETBKCOLOR to treeview Control (TVM_SETBKCOLOR=&H1129).

  The above link work well in VB. I didn't test in Access but I think it work as well.

  Regards.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question