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 

Some features to emulate standard windows tree control

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





PostPosted: Tue Aug 23, 2005 3:41 pm    Post subject: Some features to emulate standard windows tree control Reply with quote

1) Selection mode when only text of first column is selected (not all row). Or ability to set text back color in row styles.
2) Editor mode when it editor shows after mouse click on cell text and some pause waiting. Editor closes when enter key pressed.
3) Expend node when + key pressed.
4) Collapse node when - key pressed.
5) Clear selection or change it to another style when tree loses focus.
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Aug 23, 2005 11:21 pm    Post subject: Reply with quote

Some of these you can do more or less now:

1. You can set the CellSelectedStyle for columns other than the main column so that the BackColor and ForeColor are the same as the CellStyle to achieve something similar.

2. The SelectBeforeEdit property should give you this style of behaviour (when coupled with CellEditor DisplayMode of OnEdit). However there is an issue in the current release with this feature. We will be releasing a release that fixes this very shortly.

3/4. You could implement this very simply yourself by handling the KeyDown event (or overriding OnKeyDown) for the control and setting the FocusRow.Expanded = true or FocusRow.Expanded = false as appropriate. We will however also put this on our feature request list for standard behaviour.

5. We will add this to our feature request list.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
flc.net



Joined: 21 Jun 2005
Posts: 89
Location: Switzerland

PostPosted: Wed Aug 24, 2005 11:44 am    Post subject: Reply with quote

Infralution wrote:

...
5. We will add this to our feature request list.


It's also inportant for us.
Giuseppe
Back to top
View user's profile Send private message
CnetChannel
Guest





PostPosted: Wed Aug 24, 2005 12:34 pm    Post subject: Comments Reply with quote

Thanks for quick response!

You wrote: 1. You can set the CellSelectedStyle for columns other than the main column so that the BackColor and ForeColor are the same as the CellStyle to achieve something similar.

I mean another behavour. Now virtual tree drow selected cell using SelectedRowStyle. And I can't separatly set back color for cell and back color for text in cell. So I can't emulate standard windows tree where selected cell back color equal to unselected cell back color and only text back color changed to show selection (not back color under icons and empty space).
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Aug 24, 2005 10:40 pm    Post subject: Reply with quote

OK. We will have a look at this as well.
_________________
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 Aug 31, 2005 3:29 am    Post subject: Reply with quote

Version 2-0-2 of Virtual Tree has now been released. It fixes the issue with the SelectBeforeEdit property. It also include standard expand/collapse behaviour for the +/- numeric keys and left/right arrows.

Selection of text only and changing selection color when focus is changed will have to wait until a more major release.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Sep 30, 2005 10:33 am    Post subject: Reply with quote

Version 2.1.0 has now been released and adds a RowSelectedUnfocusedStyle property which allows the selection color to be appropriately changed when the control loses focus.
_________________
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 Oct 19, 2005 3:11 am    Post subject: Reply with quote

Version 2.2.0 has now been released and adds a SelectionMode property. This can be set to SelectionMode.MainCellText to select only the text of the main cell (instead of the whole row). This should complete all of the originally requested features for emulating the standard windows tree control.
_________________
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