We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Screen coordinates for CaretPosition

Thread ID:

Created:

Updated:

Platform:

Replies:

127540 Nov 22,2016 04:21 AM Nov 24,2016 12:05 PM WPF 3
loading
Tags: SfRichTextBoxAdv
Bernd
Asked On November 22, 2016 04:21 AM

Hi,

I need to display a context menu in the SFRichTextBoxAdv control using a shortcut key. This works but I do not know how to get the screen coordinates of the current Caret position to open it at the approriate position.

How do I do this?

Regards
Bernd

Venkatesan Mani [Syncfusion]
Replied On November 23, 2016 07:07 AM

Hi Bernd, 

Thank you for using Syncfusion products. 

Could you please clarify your requirement of retrieving the caret position is based on? 
1. Coordinate within SfRichTextBoxAdv control 
2. Coordinate within application window 
3. Coordinate of entire screen 
If possible, please provide prototype sample by specifying default position (Instead of caret position) for context menu. So that we can analyze further with respect to your requirement and provide you appropriate solution at the earliest. 

Regards, 
Venkatesan.  


Bernd
Replied On November 23, 2016 07:24 AM

Venkatesan,

actually any of these would work. I just need to open the ContextMenu at the Caret position, so most probably the relative position to the SfRichTextBoxAdv would be best.

Regards
Bernd

Venkatesan Mani [Syncfusion]
Replied On November 24, 2016 12:05 PM

Hi Bernd,

Thank you for your update.

At present there is no support to get the coordinates of the caret position in SfRichTextBoxAdv control. A support incident to track the status of this feature has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Regards,
Venkatesan M. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;