FuriganaControl Property

Microsoft Access Visual Basic

FuriganaControl Property

       

Language-specific information

You can use the FuriganaControl property to indicate a target control and automatically create furigana for text entered in a text box. Read/write String.

expression.FuriganaControl

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

The setting value is the name of the control for entering furigana.

You can set this property by using the property sheet, a macro, or Visual Basic.

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.

FuriganaControl property in ADP

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.

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.