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.

EditControl1.DeleteText

Thread ID:

Created:

Updated:

Platform:

Replies:

77256 Oct 22,2008 04:19 PM Oct 23,2008 06:01 AM Windows Forms 1
loading
Tags: EditControl
Troy Pascoe
Asked On October 22, 2008 04:19 PM

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 06:01 AM

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.

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.

;