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

MouseDoubleClick not firing when in headerfooterediting mode

1 Answer 59 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 04 Apr 2014, 02:22 AM
Hi there,

When editing a document with the RadRichTextBox, when i am in header/footer mode (editor.ToggleHeaderFooterEditingMode()) when i mouse double click / or just single mouse click inside the region in pointed to by the red arrow in the screenshot, the mousedoubleclick /mousedown event is not fired.

I have wired up event handlers for my radrichtextbox control:
    editor.MouseDown += editor_MouseDown;
    editor.MouseDoubleClick += editor_MouseDoubleClick;

I am led to believe its not the editor control that handles those events when double clicking in the header/footer area. Is there another object in the editor control responsible for handling these mouse events? When i double click inside a document i get the mousedoubleclick event handler firing fine. If I'm right, what is the object ? if not, what am i doing wrong?

Many thanks,
J

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 08 Apr 2014, 12:42 PM
Hi Jason,

Thank you for contacting us!

Mouse events have specific behavior in the context of RadRichTextBox as they are used to determine the state of the selection in the control. Changing the behavior might cause issues and subscribing to the events is not always the recommended way to achieve certain behavior.

Could you please share more details about your scenario? What kind of modification are you going to do? This would be the fastest way to try to provide a solution for your desired scenario.

I am looking forward to your reply.

Regards,
Yancho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RichTextBox
Asked by
Jason
Top achievements
Rank 1
Answers by
Missing User
Share this question
or