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 

Virtual tree's reaction to space bar

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





PostPosted: Mon Feb 20, 2006 4:24 pm    Post subject: Virtual tree's reaction to space bar Reply with quote

Hello!

I've got a question about VirtualTree.
When I press space bar selection on VirtualTree is cleared. When I press it second time selection comes back.
Could you explain the purpose of this behaviour? And how can I change the way the tree is acting?

Thanks.
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Feb 20, 2006 9:39 pm    Post subject: Reply with quote

The purpurse of this is to allow keyboard nagivation and selection of items. If you hold the control key down then you can select multiple items using this method. If you want to change this behaviour you can derive a new class from VirtualTree and override the ProcessSpaceCmdKey method. To eliminate the behaviour simply return false.
_________________
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