简体   繁体   English

VB.Net表单控件用于格式化富文本框

[英]VB.Net Form Controls For Formatting A Rich Text Box

I'm looking for a way to allow users to format text in a rich text box before submitting the .rtf to a database. 我正在寻找一种允许用户在将.rtf提交到数据库之前格式化富文本框中的文本的方法。

I'm looking to allow users to highlight text in the text box and then make it bold, change the font size, colour etc. All the classic controls you find in word basically. 我希望允许用户突出显示文本框中的文本,然后使其变粗,更改字体大小,颜色等。基本上,您可以在Word中找到所有经典控件。

Short of writing my own controls, is there any way of achieving this? 没有编写自己的控件,有什么方法可以实现? I'd rather steer clear of 3rd party stuff, but if there is anything that is worth it I could check it out. 我宁愿避开第三方的东西,但是如果有什么值得的话,我可以检查一下。

TIA TIA

I'm pretty sure you need to write your own control or use one someone else has made. 我很确定您需要编写自己的控件或使用别人制作的控件。 The standard RichTextBox doesn't support much. 标准的RichTextBox不支持太多。

This one looks decent: http://www.codeproject.com/Articles/24443/RicherTextBox 这个看起来不错: http : //www.codeproject.com/Articles/24443/RicherTextBox

It was mentioned in: richtextbox advanced editing 在以下内容中提到: richtextbox高级编辑

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM