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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

EditControl1.DeleteText

Thread ID:

Created:

Updated:

Platform:

Replies:

77256 Oct 22,2008 08:19 PM UTC Oct 23,2008 10:01 AM UTC WinForms 1
loading
Tags: EditControl
Troy Pascoe
Asked On October 22, 2008 08:19 PM UTC

Hi,
I have some selected text from editcontrol textbox. I want to delete the first two characters from the start and end of the selected text. So how do I get the: Syncfusion.Windows.Forms.Edit.Utils.CoordinatePoint, or system.drawing.point - for the deleteText method?

Dim Selectedtext As Syncfusion.Windows.Forms.Edit.Utils.ITextRange
Selectedtext = EditControl1.Selection

EditControl1.DeleteText(??)

Vb.net please
Thanks in advance


Fathima Shalini P [Syncfusion]
Replied On October 23, 2008 10:01 AM UTC

Hi Troy,

Thank you for your interest in Syncfusion Products.

Please refer to the below sample that deletes the starting two characters and the last two characters in a selected text:

http://websamples.syncfusion.com/samples/Edit/F77256/main.htm

Please let me know if any concerns.

Regards,
Fathima


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.

Warning Icon 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.Close Icon

;