Cancel drag operation and more control

Topics related to the Krypton Workspace.

Moderators: Phil Wright, Chris Porter

Cancel drag operation and more control

Postby bzamfir » Tue Feb 24, 2009 12:24 pm

Hi,

Is there any way to cancel a drag operation, or to detect a drag operation (and dragged control ) right in the moment the drag was started?

Thanks
Bogdan Zamfir
Consultant / Developer / Programmer
http://www.zbconsulting.eu
View my profile on Image
http://www.linkedin.com/in/bogdanzamfir
bzamfir
 
Posts: 25
Joined: Fri Feb 06, 2009 3:52 am

Re: Cancel drag operation and more control

Postby Phil Wright » Tue Feb 24, 2009 5:25 pm

You can hook into the KryptonWorkspace.BeforePageDrag and KryptonWorkspace.AfterPageDrag and yes you can Cancel the BeforePageDrag event to cancel the drag operation from occuring.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia

Re: Cancel drag operation and more control

Postby bzamfir » Tue Feb 24, 2009 6:04 pm

Thanks
Bogdan Zamfir
Consultant / Developer / Programmer
http://www.zbconsulting.eu
View my profile on Image
http://www.linkedin.com/in/bogdanzamfir
bzamfir
 
Posts: 25
Joined: Fri Feb 06, 2009 3:52 am


Return to Krypton Workspace

Who is online

Users browsing this forum: No registered users and 1 guest