Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1320
WinFormattedTextEditor equivalent for System.Windows.Forms.TextBox GetCharIndexFromPosition method
posted

Does anyone know how I can determine the character over which my cursor is moving inside of a WinFormattedTextEditor control?  The System.Windows.Forms.TextBox control has a GetCharIndexFromPosition function, but this is not implemented within the WinFormattedTextEditor control.

Any ideas?

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    This kind of stuff can generally be found on the EditInfo property.

    this.ultraFormattedTextEditor1.EditInfo.GetCaretPositionFromMouseLocation(mousePos);

Children
No Data