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 for SelectionChanging event?

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



Joined: 24 Mar 2005
Posts: 10

PostPosted: Tue Feb 13, 2007 5:28 pm    Post subject: Virtual for SelectionChanging event? Reply with quote

I don't see a virtual function to override that calls the SelectionChanging event. I see one for OnSelectionChanged.

I would like my VirtualTree subclass to handle selection changing and cancel selection in certain scenarios without any consumers of the SelectionChanging event getting called.

Is there a way to do this?

Thanks,

Mark
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Feb 13, 2007 10:10 pm    Post subject: Reply with quote

The SelectionChanging event is raised by the AllowSelectionChange method. You can override this method.
_________________
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