有谁用过TRichViewEdit控件,一个小问题
这个编辑框中文本总是自动折行,也就是水平滚动条总是不出来。谁知这个属性在哪设置?
另外开发这个组件的公司好象已经不存在了,已经不能访问wwww.trichveiw.com这个网站了。谁知怎么回事?
[解决办法]
网站还在 http://www.trichview.com/
VScrollVisible,HScrollVisible 设 true
WordWrap 设 false @_@ "
http://www.richedit.com/forums/viewtopic.php?p=5846
How to make ONE LINE plain text editor
* Exclude all but text from AcceptDragDropFormat property
* Process OnPaste event (see below)
* Process OnOleDrop event (see below)
* Disable all UI commands changing text and paragraph attributes or inserting multiline text
* Set WordWrap property = False (for RichView v1.9.27+), or include rvpaoNoWrap in property of paragraph style
* Include rvoDoNotWantReturns in EditorOptions
* Set VSmallStep property = 1, before calling Format
* If you do not want tabulators as well, set RVStyle.SpacesInTab = 4