StrataFrame Forum

SyntaxEditor Control Word Wrap

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

By Leonard P. - 10/15/2008

Hi,

I am using StrataFrame SyntaxEditor Control. Some text coming from the database is a continuous text with no line breaks. So, it gets displayed in the SyntaxEditor control as a single line, and users have scroll horizontally to see the whole thing. I want to word wrap this text, so user wont have to scroll. WordWrap property doesn't seem to do anything. Do you have any other suggestions?

Thanks
By Trent L. Taylor - 10/16/2008

It will work, but you will have to do it in code.  The WordWrap property is overwritten on this control, so the designer will not retain a value for this property.  So just set the WordWrap property to True in the constructor or Load of the parent container on which it resides and it will resolve your problem.