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 

Column background style

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



Joined: 31 Dec 2008
Posts: 5
Location: Israel

PostPosted: Sat Mar 07, 2009 11:40 am    Post subject: Column background style Reply with quote

Hello Support ,
I want to set a different visual styles for columns in the VirtualTree.
Especially it's important for Main Column Background style .

Thanks a lot .
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sun Mar 08, 2009 9:27 pm    Post subject: Reply with quote

You can set styles for Columns using the Virtual Tree designer. Simply select the column(s) and set the properties of the CellStyle. This will apply the style to the whole column.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
incentives



Joined: 31 Dec 2008
Posts: 5
Location: Israel

PostPosted: Mon Mar 09, 2009 11:01 am    Post subject: Cell style Reply with quote

Hi,
The problem is that it doesn't paint the Expand and Collapse Area (And the tree lines!) See screenshot
[/img]
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Mar 09, 2009 9:04 pm    Post subject: Reply with quote

The cells in the main column start after the expansion indicator. The style of the area before this is controlled by the VirtualTree.RowStyle. You could set this style as required then modify the styles of the other cells. I can see that this may be a little incovenient in your case where you are trying to set the background of the entire column. This is an issue we will take a look at to see if we can change.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Apr 29, 2009 9:51 am    Post subject: Reply with quote

We have reworked the RowWidget and CellWidget drawing code in Version 3.12.0 (just released) so that now you can set the background of the whole main column by setting the Column.CellStyle.
_________________
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 Support 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