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 / March 2005

Tip: Looking for answers? Try searching our database.

Treeview control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
G?nter Brandst?tter - 18 Mar 2005 08:21 GMT
Hi all,

is it possible to change the background-color of a treeview control?? I did
not find such a property in the control. I tried the sample code from MSDN,
but the background of the nodes' text rests white. How can I manage to have
a proper background color set??

any answer appreciated

Signature

G?nter Brandst?tter, MCP

Alex Dybenko - 18 Mar 2005 23:29 GMT
Hi,
have a look here:
http://vbnet.mvps.org/index.html?code/comctl/tveffects.htm

Signature

Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

> Hi all,
>
[quoted text clipped - 7 lines]
>
> any answer appreciated
G?nter Brandst?tter - 22 Mar 2005 08:20 GMT
Hi Alex,

thank you for your suggestion, but the effect rests the same.
Text-Background stays white.
I will keep on searching for a solution.

best regards
G?nter

> Hi,
> have a look here:
[quoted text clipped - 11 lines]
> >
> > any answer appreciated
Alex Dybenko - 22 Mar 2005 08:25 GMT
Hi,
probably this is because you use MSCOMCTL, not comctl32

Signature

Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

> Hi Alex,
>
[quoted text clipped - 20 lines]
>> >
>> > any answer appreciated
G?nter Brandst?tter - 22 Mar 2005 08:59 GMT
Hi,

this is right, I am using MSCOMCTL, but when I try to set a reference to
comctl32 I get an error-message saying that I can't create a reference to
this DLL, even when I remove my reference to MSCOMCTL first.

any suggestions?
G?nter

> Hi,
> probably this is because you use MSCOMCTL, not comctl32
[quoted text clipped - 23 lines]
> >> >
> >> > any answer appreciated
Alex Dybenko - 22 Mar 2005 12:46 GMT
Hi,
yes, you have to use OCX, not dll, and you can use only one of them - either
MSCOMCTL.ocx or comctl32.ocx
so you have do delete all controls from MSCOMCTL from your MDB, then remove
reference to it, then insert control from comctl32.ocx

Signature

Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

> Hi,
>
[quoted text clipped - 36 lines]
>> >> >
>> >> > any answer appreciated
G?nter Brandst?tter - 22 Mar 2005 21:24 GMT
Hi Alex,

thank you for your informations, that helped me a lot. Don't you know, if
there is something similar for the MSCOMCTL-treeview also??

For the moment, it works great.
G?nter

> Hi,
> yes, you have to use OCX, not dll, and you can use only one of them -
[quoted text clipped - 42 lines]
>>> >> >
>>> >> > any answer appreciated
Alex Dybenko - 23 Mar 2005 08:34 GMT
Hi,
As i know - you can't do the same for MSCOMCTL-treeview

Signature

Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

> Hi Alex,
>
[quoted text clipped - 52 lines]
>>>> >> >
>>>> >> > any answer appreciated
 
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



©2008 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.