PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Changing the keyboard
  • Keyboard used by default
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Gets or sets the language associated with the keyboard. This function allows you to manage the keyboards that use specific character sets.
Example
// Switches the display language of the application to Greek
Nation(nationGreek)
// Switches the fonts to Greek
ChangeCharset(charsetGreek)
 
// Changes the keyboard
ChangeKeyboard(languageGreek)
 
// Redisplays the "WIN_Window1" window
Use(WIN_Window1)
// Switches the display language of the application to Arabic
Nation(nationArabic)
// Switches the fonts to Arabic
ChangeCharset(charsetArabic)
 
// Changes the keyboard
// (sub-language: Egyptian = 3)
ChangeKeyboard(languageArabic, 3)
 
// Redisplays the "WIN_Window1" window
Use(WIN_Window1)
Syntax

Setting the language associated with the keyboard Hide the details

<Result> = ChangeKeyboard(<New Keyboard Language> [, <Sub-language>])
<Result>: Integer constant
Constant identifying the keyboard language used until a new keyboard language is selected.
<New Keyboard Language>: Integer constant
Constant corresponding to the new keyboard language to use:
languageAfrikaansAfrikaans keyboard
languageAlbanianAlbanian keyboard
languageArabicArabic keyboard
languageArmenianArmenian keyboard
languageBelarusianByelorussian keyboard
languageBengaliBengali keyboard
languageBulgarianBulgarian keyboard
languageCatalanCatalan keyboard
languageChineseSimplified Chinese keyboard (People's Republic of China)
languageCroatianCroatian keyboard
languageCzechCzech keyboard
languageDanishDanish keyboard
languageDutchDutch keyboard
languageEnglishEnglish keyboard
languageEstonianEstonian keyboard
languageFinnishFinnish keyboard
languageFrenchFrench keyboard
languageGeorgianGeorgian keyboard
languageGermanGerman keyboard
languageGreekGreek keyboard
languageHebrewHebrew keyboard
languageHindiHindi keyboard
languageHungarianHungarian keyboard
languageIcelandicIcelandic keyboard
languageIndonesianIndonesian keyboard
languageItalianItalian keyboard
languageJapaneseJapanese keyboard
languageKoreanKorean keyboard
languageLatvianLatvian keyboard
languageLithuanianLithuanian keyboard
languageMacedonianMacedonian keyboard
languageNorwegianNorwegian keyboard
languagePolishPolish keyboard
languagePortuguesePortuguese keyboard
languagePunjabiPunjabi keyboard
languageRomanianRomanian keyboard
languageRussianRussian keyboard
languageSerbianSerbian keyboard
languageSindhiSindhi keyboard
languageSlovakSlovak keyboard
languageSlovenianSlovenian keyboard
languageSpanishSpanish keyboard
languageSwedishSwedish keyboard
languageThaiThai keyboard
languageTurkishTurkish keyboard
languageUkrainianUkrainian keyboard
languageUzbekUzbek keyboard
languageVietnameseVietnamese keyboard
<Sub-language>: Optional integer
New sub-language to use. For more details on sub-languages, see Correspondence between languages, sub-languages, character sets and nations.
This sub-language must correspond to <New Keyboard Language>. Otherwise, a WLanguage error will occur.
This parameter is used to manage the specific features of each country.

Finding out the language associated with the keyboard Hide the details

<Result> = ChangeKeyboard()
<Result>: Integer constant
Constant identifying the language currently used by the keyboard.
languageAfrikaansAfrikaans keyboard
languageAlbanianAlbanian keyboard
languageArabicArabic keyboard
languageArmenianArmenian keyboard
languageBelarusianByelorussian keyboard
languageBengaliBengali keyboard
languageBulgarianBulgarian keyboard
languageCatalanCatalan keyboard
languageChineseSimplified Chinese keyboard (People's Republic of China)
languageCroatianCroatian keyboard
languageCzechCzech keyboard
languageDanishDanish keyboard
languageDutchDutch keyboard
languageEnglishEnglish keyboard
languageEstonianEstonian keyboard
languageFinnishFinnish keyboard
languageFrenchFrench keyboard
languageGeorgianGeorgian keyboard
languageGermanGerman keyboard
languageGreekGreek keyboard
languageHebrewHebrew keyboard
languageHindiHindi keyboard
languageHungarianHungarian keyboard
languageIcelandicIcelandic keyboard
languageIndonesianIndonesian keyboard
languageItalianItalian keyboard
languageJapaneseJapanese keyboard
languageKoreanKorean keyboard
languageLatvianLatvian keyboard
languageLithuanianLithuanian keyboard
languageMacedonianMacedonian keyboard
languageNorwegianNorwegian keyboard
languagePolishPolish keyboard
languagePortuguesePortuguese keyboard
languagePunjabiPunjabi keyboard
languageRomanianRomanian keyboard
languageRussianRussian keyboard
languageSerbianSerbian keyboard
languageSindhiSindhi keyboard
languageSlovakSlovak keyboard
languageSlovenianSlovenian keyboard
languageSpanishSpanish keyboard
languageSwedishSwedish keyboard
languageThaiThai keyboard
languageTurkishTurkish keyboard
languageUkrainianUkrainian keyboard
languageUzbekUzbek keyboard
languageVietnameseVietnamese keyboard
Remarks

Changing the keyboard

  • ChangeKeyboard is immediately taken into account. The keyboard language can be changed while typing.
  • ChangeKeyboard can only be used if the keyboard is installed on the current computer.

Keyboard used by default

If several keyboards corresponding to the same language are installed on the current computer and if <Sub-language> is not specified (Algerian and Egyptian for Arabic for example), WINDEV is using the first keyboard found.
Component: wd270vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment