Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Visual Styles

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Feature Requests
View previous topic :: View next topic  
Author Message
Bill



Joined: 14 May 2007
Posts: 4

PostPosted: Mon May 14, 2007 4:46 pm    Post subject: Visual Styles Reply with quote

Is it possible to change the visual style of the column header and the row headers? I would like to be able to use gradient colors of Office 2007.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon May 14, 2007 10:57 pm    Post subject: Reply with quote

By default Virtual Tree uses XP Themes to draw the column and row headers. You can however take control of this yourself by setting the UseThemedHeaders property to false and then setting the HeaderStyle, HeaderPressed and HeaderHot properties yourself. The styles support gradient backgrounds (by setting the BackColor, GradientColor and GradientMode). This means you can reproduce something similar to the Office 2007 look.

Have a look at the DatabaseBrowser sample project - it uses custom header styles with gradients.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Feature Requests All times are GMT
Page 1 of 1

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


Powered by phpBB © 2001, 2005 phpBB Group