Hi Sugimoto,
You can handle the CurrentCellControlGotFocus event and set the DetectUrls property of the RichTextBox control to false. Here is a code snippet.
private void gridDataBoundGrid1_CurrentCellControlGotFocus(object sender, System.Windows.Forms.ControlEventArgs e)
{
RichTextBox RTB = e.Control as RichTextBox;
if( RTB != null )
{
RTB.DetectUrls = false;
}
}
If you want to change the underlying style of the richtextbox then you need to import the "user32.dll" and call the sendMessage method. Here is a minimal sample that shows you "How to set underlying style in a RichTextControl?".
Sample :
GDBGUnderlineStyle.zipBest regards,
Haneef