StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Colorized Textbox ProblemsExpand / Collapse
Author
Message
Posted 04/06/2006 10:51:38 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 08/23/2007 2:01:12 AM
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?

Post #770
Posted 04/06/2006 12:24:11 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:50:35 PM
Posts: 4,796, Visits: 4,766
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.

Post #772
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 9:11am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 9 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.