PC Review


Reply
Thread Tools Rate Thread

.net 2.0 Richtextbox autodragdrop how to make the control respond to Ctrl key for move copy?

 
 
positivebalance@hotmail.com
Guest
Posts: n/a
 
      2nd Jan 2007
..net 2.0 richtextbox autodragdrop how to make the control respond to
Ctrl key for move copy?

it's handy to have the enableautodragdrop is true but two odd things I
notice:

1. when I first use the control it gives a no dragdrop allowed cursur
effect but on second dragdrop it works ok forevermore until I change
the e.drageffect.copy to e.drageffect.move or vice versa. always seems
to need some initialization but this is not documented anywhere?

2. I would like to change dragdrop move/copy on the fly by
holding/letting go the ctrl ( control ) key the way people expect
dragdrop to operate like in MS Word for example

Can someone post an example of how to accomplish dragdrop move vs copy
changes when ctrl key held or not? seems the keyup or keydown event
needs to re-trigger the dragenter event?

Anyone got a solution to the autodragdrop first time use issue?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The richtextbox not receiving the keys such Ctrl+A, Ctrl+O when typedon it when hosted on web page Gouri.Mahajan7@gmail.com Microsoft ASP .NET 0 11th Jul 2008 06:27 AM
Ctrl + V & Ctrl + S & Ctrl + X etc. etc. =?Utf-8?B?UmVuZUJDMw==?= Microsoft Excel Misc 3 30th Aug 2007 04:28 PM
Shortcut keys like Ctrl+C, Ctrl+V, Ctrl+A etc Not Working gettechtips@yahoo.co.in Windows XP General 1 23rd Sep 2006 12:43 PM
How to enable Ctrl+C, Ctrl+V, Ctrl+X in textBoxes? kari Microsoft C# .NET 1 16th May 2006 02:19 AM
Re: VB script that mimics CTRL+C, CTRL+G, CTRL+V, ENTER? Fergus Cooney Microsoft VB .NET 0 8th Nov 2003 02:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:46 AM.