vba 用于 MS Access 表单的 HTML 编辑器控件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1404720/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
HTML editor control for use in MS Access forms
提问by Salman A
Can you suggest a free/bundled HTML editor control for use in MS Access forms? Basically I need to bind a control with a VARCHAR field that allows basic HTML input, formatting and preview functionality -- a WYSIWYG editor.
你能建议一个免费/捆绑的 HTML 编辑器控件用于 MS Access 表单吗?基本上,我需要将一个控件与一个允许基本 HTML 输入、格式设置和预览功能的 VARCHAR 字段绑定——一个所见即所得的编辑器。
回答by jwhite
Old thread, but here is another:
旧线程,但这里是另一个:
HTML Editor built around the MS Web Browser control http://lebans.com/htmleditor.htm
围绕 MS Web 浏览器控件构建的 HTML 编辑器 http://lebans.com/htmleditor.htm
Best of all, it is FREE.
最重要的是,它是免费的。
回答by Marcand
For versions of Access prior to Access 2007, the only one I know of is XStandard at http://xstandard.com/
对于 Access 2007 之前的 Access 版本,我所知道的唯一一个是http://xstandard.com/ 上的XStandard
We tried adding it to a MS Access form for a project about a year ago, it worked well but some things did not work well in the context of our project (french accents, superscript, subscripts).
大约一年前,我们尝试将它添加到一个项目的 MS Access 表单中,它运行良好,但在我们的项目上下文中(法语重音、上标、下标),有些东西效果不佳。
回答by HK1
I too realize this is an old thread and the OP was asking about an HTML editor for 2003.
我也意识到这是一个旧线程,OP 正在询问 2003 年的 HTML 编辑器。
I just want to add that the so-called "Rich Text" textbox in Access 2007 does indeed using HTML but as near as I can tell it doesn't use proper styling markup (if you want to be able to retrieve the HTML). Here's an example of the code it produces:
我只想补充一点,Access 2007 中所谓的“富文本”文本框确实使用了 HTML,但据我所知,它没有使用正确的样式标记(如果您希望能够检索 HTML)。这是它生成的代码示例:
<div align=center><font size=4><strong>Some Big Bold Text</strong></font></div>
<div align=center><strong>SomeBoldText</strong></div>
<div align=center>Some Regular Text</div>