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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Regd----Half Word Selection

Thread ID:





35187 Sep 26,2005 09:23 AM UTC Sep 28,2005 11:41 AM UTC WinForms 6
Tags: GridControl
Asked On September 26, 2005 09:23 AM UTC

Hi, Even after writing this statement, "this.AutoWordSelection = false", it still selects automatically,how to avoid auto selection apart from this statement.I want to select Three and a half word in a richtextbox.Try it! Thanks in advance, Regards, Manohar.

Administrator [Syncfusion]
Replied On September 26, 2005 10:15 AM UTC

Hi Manohar, Can you post a small working sample showing the problem? Best regards, Jay N

Replied On September 26, 2005 10:42 AM UTC

Hi Jay, What I am attaching is not executable version,but you can see in the code what I am trying to say.In DBGrid.cs you can see Richtextcell as one cell model in the grid and in richtextbox.cs constructor you can see I am assigning "this.AutoWordSelection = false". Hope this will help in giving me the required solution,if not pls let me know. Regards, Manohar. SelectionPb_204_9211_6587.zip

Administrator [Syncfusion]
Replied On September 27, 2005 12:01 PM UTC

Hi Manohar, Can you try accessing the control in the CurrentCellControlGotFocus and try settting the AutoWordSelection property? Here is a sample that works for InPlaceRichText Cell. Best regards, Jay N

Replied On September 28, 2005 09:17 AM UTC

Hi Jay, As you said I wrote "grid_CurrentCellControlGotFocus".The event is getting fired, everthing is happeneing, but autoselection is not disabling.I pasted the code below.Kindly give some other solution. private void grid_CurrentCellControlGotFocus(object sender, ControlEventArgs e) { activeRichTextBox.AutoWordSelection = false; } Regards, Manohar

Administrator [Syncfusion]
Replied On September 28, 2005 11:19 AM UTC

Hi Manohar, Do you see the problem in the above sample too? Below are the screenshots, you could see half word is selected. I am using 3.2.1 ver / .NET 1.1 RichText_screenshots.zip Best regards, Jay N

Replied On September 28, 2005 11:41 AM UTC

Hi Jay, First let me thank for your patience and tremendous support. Actually we can select half a word,but the problem is free flow is not there,what i mean exactly is suppose if we have 12 characters in a word,by the time you select 3 or 4 characters from the start/end of the word it will select the whole word,which should not happen.If this the case think of small words.Kindly if still anything can be improved upon the existing,please let me know. Regards, Manohar.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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