If I set the language to English and then go to the Immediate Window (CTRL-G) and type this:
.. and press Enter, I get: 11.
So, 11 must be the numeric code for English. If I set it back to System, the value is actually 0. You could try using the Load event of the form to go through your controls and set that property to 11 if you want the user to be able to enter English.
John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
On Jan 7, 2016, at 8:22 PM, zhaoliqingoffice firstname.lastname@example.org [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
From where to find the language property? Would you please an example to use code to set the keyboatd? Thanks in advance.
在 "John Viescas JohnV@msn.com [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com>，2016年1月7日 下午11:37写道：
Kevin-Combo boxes have a Keyboard Language property. On my install in English, the options are either System or English. If I were to distribute an app built on my machine to one that was running a Chinese version of Windows, I probably would have the option in code to let controls default to "System" - which would use the Chinese keyboard - or reset it to "English" so the user could type in English.John Viescas, AuthorMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access ApplicationsSQL Queries for Mere Mortals(Paris, France)
Posted by: John Viescas <email@example.com>
|Reply via web post||•||Reply to sender||•||Reply to group||•||Start a New Topic||•||Messages in this topic (4)|