StrataFrame Forum

Colorized Textbox Problems

http://forum.strataframe.net/Topic770.aspx

By Kevin Lingofelter - 4/6/2006

Hello,

I just discovered the colorized textbox. Looks great! but I've used it to replace a standard multiline textbox on the form. The border style doesn't appear like the standard strata textboxes and the control ignores the readonly toggling performed by the BO.

The IngoreManageReadOnlyState is set to false.

Anyone use this control successfully?

By Trent L. Taylor - 4/6/2006

Kevin,

This is an inherited Rich Text Format control with some supercharged RegEx maniulating the RTF code behind the scenes.  So inherantly changing the border on the control itself is not possible.  However, you can turn the border off by setting the BorderStyle property to None.  Then place the ColorizedTextBox in a parent control control of some sort, such as a Panel, that can have its border properties manipulated.  Once the control is in the parent container, dock the ColorizedTextBox to a Fill.  This will allow you to simulate a more XP style border.

Hope this helps.