This is a migrated thread and some comments may be shown as answers.

On Win 10 system, when drag a shape the previewkeydown event trigger

4 Answers 54 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
rui
Top achievements
Rank 1
rui asked on 07 May 2016, 01:30 AM

On win10 system, when drag a shape,  the driagrm's  previewkeydown event trigger.

on win7 system this case is not exist,

on  win10 system, when open the vs with administrator, the case is also not exist  

attached is the demo 

Is any resolution to resolve this issue

4 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 11 May 2016, 10:21 AM
Hello ,

It seems that your demo project failed to attach. Could you resend it so we can investigate the behavior mentioned in your post on our side?

Thank you for your cooperation.

Regards,
Dinko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
rui
Top achievements
Rank 1
answered on 11 May 2016, 10:35 AM

it seem i can only attach a picture file 

the demo is simple  when drag  a shape the  previewmousedown envnt is raised 

code like this :

 private void diagram_PreviewKeyDown_1(object sender, KeyEventArgs e)
        {
            MessageBox.Show("Win10 system when drag a node this event trigger");
        }

0
Dinko | Tech Support Engineer
Telerik team
answered on 14 May 2016, 07:49 AM
Hello ,

We weren't able to reproduce the described behavior. We have tested it on several different machines with different OS systems (Win10, Win 8.1, Win 7) with no success. 

As a side note, it sounds very strange that PreviewKeyDown event is called when RadDiagramShape is dragged. You can double check your code if there could be any other reason causing this behavior. We have attached to this reply the sample project which we were using to test your scenario. You can check it if we are missing something.

We are looking forward to your answer.

Regards,
Dinko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
rui
Top achievements
Rank 1
answered on 17 May 2016, 02:43 AM

The demo you sent is almost same as my side's

but It is strange that the problem is not exist now on my side

It is not a certain problem

I will continue to observe it

 

Thank you 

 

Tags
Diagram
Asked by
rui
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
rui
Top achievements
Rank 1
Share this question
or