Colorized Textbox Problems


Author
Message
Kevin Lingofelter
Kevin Lingofelter
StrataFrame Novice (123 reputation)StrataFrame Novice (123 reputation)StrataFrame Novice (123 reputation)StrataFrame Novice (123 reputation)StrataFrame Novice (123 reputation)StrataFrame Novice (123 reputation)StrataFrame Novice (123 reputation)StrataFrame Novice (123 reputation)StrataFrame Novice (123 reputation)
Group: Forum Members
Posts: 77, Visits: 804
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?

Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
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.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search