Table of contents
TOC
折叠目录
展开目录

TextBox.FuriganaControl 属性 (访问)TextBox.FuriganaControl Property (Access)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

语法Syntax

表达式FuriganaControlexpression. FuriganaControl

表达式_一个表示文本框对象的变量。_expression A variable that represents a TextBox object.

注解Remarks

该设置的值为输入汉字注音的控件名称。The setting value is the name of the control for entering furigana.

如果在控件中设置FuriganaControl属性,汉字注音将自动创建,并且可以单独指定控件中显示。只有当在同一窗体中的控件名称设置FuriganaControl属性将窗体正常运行时执行。如果非同一窗体中指定的控件名的控件中输入文本,则将发生错误。汉字注音字符的类型由控件中的IMEMode/KanjiConversionMode属性设置确定。If the FuriganaControl property is set in the control, furigana will automatically be created, and can be displayed in a separately designated control. Only if a control name in the same form is set with the FuriganaControl property will the form run properly when executed. If text is entered in a control other than the designated control name in the same form, an error will occur. The type of furigana characters is determined by the IMEMode/KanjiConversionMode property settings in the control.

在 ADP FuriganaControl 属性FuriganaControl property in ADP

ADP 文件中使用FuriganaControl属性时,请务必将字符/NCHAR 数据类型更改为 VARCHAR/NVARCHR。否则,无法向目标字段插入任何汉字注音字符串。FuriganaControl属性插入到现有的目标域,汉字注音字符串,但如果字符/NCHAR 作为保持字段的数据类型定义,任何字符串插入操作失败,因为字段长度固定的在错误消息中的结果。When you use FuriganaControl property in ADP file, be sure to change the data type from CHAR/NCHAR to VARCHAR/NVARCHR. Otherwise, you cannot insert any furigana string into the target field. The FuriganaControl property inserts furigana strings to an existing target field, but if the data type definition of the field stays as CHAR/NCHAR, any string insertion fails because the field length is fixed, which result in an error message.

请注意 如果在目标控件中输入文本,新输入文本的汉字注音将自动添加到指定的目标控件内容的末尾。即使修订或删除目标控件的文本,目标控件中更改前的字符将不会修改或删除。更改目标控件的内容修订根据汉字注音控件中的文本。如果文本被粘贴到目标控件,则不会运行的FuriganaControl属性。Note If you enter text in the target control, the furigana of the newly entered text is automatically added to the end of the designated target control content. Even if the text of the target control is revised or deleted, the characters before the change in the target control will not be revised or deleted. Changing the content of the target control revises the text in the furigana control as necessary. The FuriganaControl property will not run if text is pasted into the target control.

另请参阅See also

概念Concepts

TextBox 对象TextBox Object

© 2018 Microsoft