KeyboardLanguage Property

Microsoft Access Visual Basic

KeyboardLanguage Property

       

Language-specific information

You can use the KeyboardLanguage property to specify or determine the keyboard language on entry into a control. Read/write Byte.

expression.KeyboardLanguage

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

Remarks

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

Valid values for this property are 0 (zero), which corresponds to the default system language, or plid + 2 where plid is the primary language ID of a language installed on the current system. For example, the primary language ID of English is 9, so the corresponding KeyboardLanguage setting is 11. For a list of languages and their primary language IDs, search for "Primary Language IDs" in the MSDN library. (An exception to this list is Traditional Chinese which is represented by the value 200.)

Setting this property to a language that is not installed may either have no effect or cause an error.