PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Finds out and/or modifies 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

Modifying 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:
Versions 16 and later
languageAfrikaans
New in version 16
languageAfrikaans
languageAfrikaans
Afrikaans keyboard
languageAlbanianAlbanian keyboard
languageGermanGerman keyboard
languageEnglishEnglish keyboard
languageArabicArabic keyboard
languageArmenianArmenian keyboard
Versions 16 and later
languageBengali
New in version 16
languageBengali
languageBengali
Bengali keyboard
languageBelarusianByelorussian keyboard
languageBulgarianBulgarian keyboard
Versions 16 and later
languageCatalan
New in version 16
languageCatalan
languageCatalan
Catalan keyboard
languageChineseSimplified Chinese keyboard (People's Republic of China)
languageKoreanKorean keyboard
languageCroatianCroatian keyboard
languageDanishDanish keyboard
languageSpanishSpanish keyboard
languageEstonianEstonian keyboard
languageFinnishFinnish keyboard
languageFrenchFrench keyboard
languageGeorgianGeorgian keyboard
languageGreekGreek keyboard
languageHebrewHebrew keyboard
Versions 17 and later
languageHindi
New in version 17
languageHindi
languageHindi
Hindi keyboard
languageHungarianHungarian keyboard
Versions 16 and later
languageIndonesian
New in version 16
languageIndonesian
languageIndonesian
Indonesian keyboard
languageIcelandicIcelandic keyboard
languageItalianItalian keyboard
languageJapaneseJapanese keyboard
languageLatvianLatvian keyboard
languageLithuanianLithuanian keyboard
languageMacedonianMacedonian keyboard
languageDutchDutch keyboard
languageNorwegianNorwegian keyboard
languageUzbekUzbek keyboard
Versions 16 and later
languagePunjabi
New in version 16
languagePunjabi
languagePunjabi
Punjabi keyboard
languagePolishPolish keyboard
languagePortuguesePortuguese keyboard
languageRomanianRomanian keyboard
languageRussianRussian keyboard
languageSerbianSerbian keyboard
Versions 16 and later
languageSindhi
New in version 16
languageSindhi
languageSindhi
Sindhi keyboard
languageSlovakSlovak keyboard
languageSlovenianSlovenian keyboard
languageSwedishSwedish keyboard
languageCzechCzech keyboard
languageThaiThai keyboard
languageTurkishTurkish keyboard
languageUkrainianUkrainian keyboard
languageVietnameseVietnamese keyboard
<Sub-language>: Optional integer
New sub-language to use. See Correspondence between languages, sub-languages, character sets and nations for more details.
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.
Versions 16 and later
languageAfrikaans
New in version 16
languageAfrikaans
languageAfrikaans
Afrikaans keyboard
languageAlbanianAlbanian keyboard
languageGermanGerman keyboard
languageEnglishEnglish keyboard
languageArabicArabic keyboard
languageArmenianArmenian keyboard
Versions 16 and later
languageBengali
New in version 16
languageBengali
languageBengali
Bengali keyboard
languageBelarusianByelorussian keyboard
languageBulgarianBulgarian keyboard
Versions 16 and later
languageCatalan
New in version 16
languageCatalan
languageCatalan
Catalan keyboard
languageChineseSimplified Chinese keyboard (People's Republic of China)
languageKoreanKorean keyboard
languageCroatianCroatian keyboard
languageDanishDanish keyboard
languageSpanishSpanish keyboard
languageEstonianEstonian keyboard
languageFinnishFinnish keyboard
languageFrenchFrench keyboard
languageGeorgianGeorgian keyboard
languageGreekGreek keyboard
languageHebrewHebrew keyboard
Versions 17 and later
languageHindi
New in version 17
languageHindi
languageHindi
Hindi keyboard
languageHungarianHungarian keyboard
Versions 16 and later
languageIndonesian
New in version 16
languageIndonesian
languageIndonesian
Indonesian keyboard
languageIcelandicIcelandic keyboard
languageItalianItalian keyboard
languageJapaneseJapanese keyboard
languageLatvianLatvian keyboard
languageLithuanianLithuanian keyboard
languageMacedonianMacedonian keyboard
languageDutchDutch keyboard
languageNorwegianNorwegian keyboard
languageUzbekUzbek keyboard
Versions 16 and later
languagePunjabi
New in version 16
languagePunjabi
languagePunjabi
Punjabi keyboard
languagePolishPolish keyboard
languagePortuguesePortuguese keyboard
languageRomanianRomanian keyboard
languageRussianRussian keyboard
languageSerbianSerbian keyboard
Versions 16 and later
languageSindhi
New in version 16
languageSindhi
languageSindhi
Sindhi keyboard
languageSlovakSlovak keyboard
languageSlovenianSlovenian keyboard
languageSwedishSwedish keyboard
languageCzechCzech keyboard
languageThaiThai keyboard
languageTurkishTurkish keyboard
languageUkrainianUkrainian keyboard
languageVietnameseVietnamese keyboard
Remarks

Changing the keyboard

  • ChangeKeyboard is immediately taken into account. The keyboard language can be changed while typing.
  • ChangeKeyboard can be used only 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.
Components
WINDEVReports and Queries wd230vm.dll
Linux wd230vm.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment