Welcome Guest Search | Active Topics | Members | Log In | Register

Text color change using Vista Theme Options
smarrocco
Posted: Monday, July 26, 2010 2:26:51 AM
Rank: Member

Joined: 7/14/2010
Posts: 18
Points: 54
I would like to change only the text color in a new node while still using .UseThemes to maintain your "vista" look and feel. However, node.normalstyle.textcolor cannot be altered while .UseThemes is true.

Is there a method to copy the built in Vista Theme style to a new style that could then be applied to the treelistview, allowing me to alter the text color and maintain all other style settings to match the vista look?
LidorSystems Support
Posted: Monday, July 26, 2010 5:26:08 PM

Rank: Administration

Joined: 6/10/2005
Posts: 637
Points: 1,365
In the moment when UseTheme is set to true, the appearance of the control is determined from built-in color scheme that matches the VisualStyle selected for particular windows operating system.

Although you can create the exact appearance by changing properties for each state of the nodes in their corresponding color style, the best solution we can implement which solves this, is to enable setting of styles even when UseTheme is set to true. In this way you can extend the appearance of current theme selected by adding your own custom changes to color styles. The functionality is the same as when UseTheme is set to false, but now it will be available in both cases.

This can be solved immediately and we can send you an updated version tomorrow.
smarrocco
Posted: Tuesday, July 27, 2010 4:11:21 AM
Rank: Member

Joined: 7/14/2010
Posts: 18
Points: 54
While I appreciate it, would this cause an incompatibility with future revisions or a fork in the code tree of TreeListView, or would this be included in future versions of the control itself?

It does seem useful to have a "Apply Styles after Theme" option in future versions of the control itself.
LidorSystems Support
Posted: Tuesday, July 27, 2010 12:59:04 PM

Rank: Administration

Joined: 6/10/2005
Posts: 637
Points: 1,365
We have received requests for this option from other users also. Upon consideration we have decided to make this feature available in all future versions, and also in all controls, not just TreeListView control.

We don’t make separate versions of the control. All feature requests and suggestions when accepted are included in the control in all future versions.
smarrocco
Posted: Wednesday, July 28, 2010 3:51:35 PM
Rank: Member

Joined: 7/14/2010
Posts: 18
Points: 54
Good to know, thank you for the information. The last thing I would want to introduce is a fork in the code tree of the control itself.

Thank you for the solution. Please let me know when where to go about downloading it when it is ready.
LidorSystems Support
Posted: Wednesday, July 28, 2010 9:44:50 PM

Rank: Administration

Joined: 6/10/2005
Posts: 637
Points: 1,365
We have added a new property AllowThemeExtend which when set to true allows customization of current theme.

A download link containing this update will be send to you shortly.
smarrocco
Posted: Tuesday, August 03, 2010 1:50:35 AM
Rank: Member

Joined: 7/14/2010
Posts: 18
Points: 54
The new extended theme options works well, thank you very much.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.0 (NET v2.0) - 10/10/2006
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.117 seconds.