首页> 外文期刊>Access Advisor >Let Users Create Formatted Text in Microsoft Access
【24h】

Let Users Create Formatted Text in Microsoft Access

机译:让用户在Microsoft Access中创建格式化的文本

获取原文
获取原文并翻译 | 示例

摘要

Here's all the code that you need to handle rich, formatted text in your application using the Rich TextBox control. If you put a standard text box on your form, users can't apply formats, such as boldface or italics, to characters or phrases. If you want to give users the ability to create formatted text, you can use the ActiveX Rich Text control instead. Figure 1 on page 8 shows rich text both with formatting applied and with the formatting codes displayed. Supporting formatting can require a great deal of code because, quite frankly, Microsoft Word has raised users' expectations. We've included all the code you need to support typical formatting options in our example database, including a set of buttons for applying formatting, setting formats by using shortcut keys, and reporting the state of the currently selected text through the format buttons. We even handle converting formally unformatted text to rich text.
机译:这是使用Rich TextBox控件在应用程序中处理格式丰富的文本所需的所有代码。如果您在表单上放置标准文本框,则用户将无法对字符或短语应用诸如黑体或斜体之类的格式。如果要使用户能够创建带格式的文本,则可以改用ActiveX Rich Text控件。第8页上的图1显示了带格式应用和显示格式代码的富文本。支持格式化可能需要大量代码,因为坦率地说,Microsoft Word提高了用户的期望。在示例数据库中,我们已经包含了支持典型格式设置选项所需的所有代码,包括一组用于应用格式设置的按钮,使用快捷键设置格式以及通过格式按钮报告当前所选文本状态的按钮。我们甚至可以处理将形式未格式化的文本转换为富文本格式。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号