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 

RowHotStyle & single click node expansion

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



Joined: 25 Jan 2006
Posts: 6

PostPosted: Fri Mar 10, 2006 7:56 pm    Post subject: RowHotStyle & single click node expansion Reply with quote

I'd like a way to make the tree behave more like Explorer on XP -- where you hover the mouse over a node and it underlines it (RowHotStyle), and a single click would select and expand a node.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Mar 11, 2006 12:41 am    Post subject: Reply with quote

You can implement this yourself reasonably easily. Check out the Custom Widget sample project. This implements a Hot Style for rows/cells. By also overriding the CellWidget.OnClick method you could implement the single click expansion.

We will consider implementing a separate HotRowStyle to support this type of user interface more directly.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
rp



Joined: 25 Jan 2006
Posts: 6

PostPosted: Mon Mar 13, 2006 7:13 pm    Post subject: Reply with quote

Thanks works well Smile

I also overrode RowWidget.OnClick so the user could click anywhere on the row to expand the node.
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Mar 14, 2006 5:42 pm    Post subject: Reply with quote

Just as a FYI -- I also had to implement handling for even/odd row styles as applied to a CellHotStyle. Something to take into account if you do end up adding this.
Back to top
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