Showing results 1 to 4 of 4

Thread: Language Switching DIALOGKBD

  1. #1
    Join Date

    Default Language Switching DIALOGKBD

    Anybody got any advice on language switching the DIALOGKBD window?

    I've implemented language display switching which can control font and text lists via the Language File mechanism and let's call that fine.

    What it does not do is alter the language of DIALOGKBD.
    As we all know different countries use different keyboards with different layouts.

    I have found I can alter the runtime construction of DIALOGKBD and clones of it to reflect different languages by altering the Windows keyboard region settings during design time. However this has no obvious effect at run time, switching region doesn't switch any keyboards. At design time it just gives me new screen specific functions for swedish characters, but no mechanism for changing the layout and associating the layout with a keyboard language.

    This is compounded by some screen specific types only ever using DIALOGKBD screen as a hardcoded option, not permitting me to substitute in a different languaged keyboard even if I could determine at runtime what the keyboard is regioned to.

    And further compounded by some data entry screen elements not calling windows functions that might bring up a pre-installed touch screen keyboard program that does have selectable inbuilt keyboard layout altering on windows region.

    So, really, I'm literally begging for any useful information on how to switch keyboard layout during runtime, preferably with the same button I made to switch display language.

    But really, any information. Any at all.

  2. #2
    Join Date

    Default Re: Language Switching DIALOGKBD

    Hello Edgy
    I have an Workaround for you:
    1. create an integer variable
    2.create a Keyboard Screen for each layout
    3. create a button for each layoutscreen and set the visibility for each button from the created integer
    4. the Limit for visibility is for each button different
    5. on the language button you trigger a script with execute the laguage Switch and the value of visibility for the write Keyboard layout

    Hint: you can overlap the buttons if they not visible you also cant click them
    Last edited by ritschel93 : 26th July 2016 at 13:33

  3. #3
    Join Date

    Default Re: Language Switching DIALOGKBD

    Sounds pretty good ritschel, I'll see if I can make that work. I suspect it might block access to other language keypresses if Windows is not set to the target language as well.

  4. #4
    Join Date

    Daumen runter Re: Language Switching DIALOGKBD

    I've travelled back in time to report that switching language still doesn't change virtual keyboard layouts.
    having to do it YOUR way!

Similar Threads

  1. automatic switching (substation automation)
    By elsoportar in forum zenon Energy Edition
    Replies: 3
    Last Post: 14th April 2015, 12:20
  2. Schablone für DIALOGKBD
    By agroscope in forum zenon Supervisor
    Replies: 2
    Last Post: 16th April 2014, 15:21
  3. Switching variables in Report
    By a.oprean in forum zenon Supervisor
    Replies: 4
    Last Post: 15th January 2013, 02:05
  4. language for ZenonCERT
    By yara in forum zenon Operator
    Replies: 2
    Last Post: 21st February 2011, 13:28
  5. Why does not my DIALOGKBD work in the runtime?
    By markclemens in forum zenon Supervisor
    Replies: 0
    Last Post: 17th October 2007, 16:17

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts