This commit is contained in:
Kathy Ruffing 2012-10-26 10:29:37 +00:00
parent 274706e0c1
commit 84cc475d90

View File

@ -606,7 +606,7 @@ namespace Volian.Controls.Library
if (_EventHandlersForKeyPress>0) return; if (_EventHandlersForKeyPress>0) return;
// Always be sure to add the same event handlers to RemoveEventHandlers // Always be sure to add the same event handlers to RemoveEventHandlers
BorderStyle = System.Windows.Forms.BorderStyle.None; BorderStyle = System.Windows.Forms.BorderStyle.None;
this.DetectUrls = true; this.DetectUrls = false;
ContentsResized += new ContentsResizedEventHandler(StepRTB_ContentsResized); ContentsResized += new ContentsResizedEventHandler(StepRTB_ContentsResized);
this.Click +=new EventHandler(StepRTB_Click); this.Click +=new EventHandler(StepRTB_Click);
this.KeyPress += new KeyPressEventHandler(StepRTB_KeyPress); this.KeyPress += new KeyPressEventHandler(StepRTB_KeyPress);
@ -677,7 +677,7 @@ namespace Volian.Controls.Library
this.Height = 10; // initialize the height to 10, the default height was too big for the cells in grid tables this.Height = 10; // initialize the height to 10, the default height was too big for the cells in grid tables
BorderStyle = System.Windows.Forms.BorderStyle.None; BorderStyle = System.Windows.Forms.BorderStyle.None;
this.ScrollBars = RichTextBoxScrollBars.None; this.ScrollBars = RichTextBoxScrollBars.None;
this.DetectUrls = true; this.DetectUrls = false;
} }
// An event is needed to set MouseDown to false on mouse leave, because additional rtb's may // An event is needed to set MouseDown to false on mouse leave, because additional rtb's may
// have been exposed based on entering a step, which causes the underlying item/rtb for which // have been exposed based on entering a step, which causes the underlying item/rtb for which