Print Page | Close Window

Disable WebBrowser Drag & Drop

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11835
Printed Date: 16 November 2024 at 8:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable WebBrowser Drag & Drop
Posted By: LightRock
Subject: Disable WebBrowser Drag & Drop
Date Posted: 15 August 2008 at 6:54am
Hi
 
I am trying to stop the WebBrowser control from receving drop commands which causes it to navigate away.
 
I think the original control uses RegisterAsDropTarget to prevent this but this property is not available.
 
Can you help?
 
David



Replies:
Posted By: Oleg
Date Posted: 18 August 2008 at 2:00am
Hello,
 
Thanks for note. Please add in code.
 
WebBrowser1.Application.RegisterAsDropTarget = False


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: LightRock
Date Posted: 18 August 2008 at 3:51am
Thanks for your quick reply Oleg



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net