[Gambas-user] How to Change Keyboard Layout

2018-10-01 Thread WAEL via Gambas-user
Hello I'm trying to change system keyboard layout by pressing a key I can't find the right code for doing so please help I usually press Alt+Shift to change keyboard from English to Arabic and vice versa, but I need to program it to a button in my project I tried: system.language ="ar-EG" but it

Re: [Gambas-user] How to Change Keyboard Layout

2018-10-01 Thread T Lee Davidson
Perhaps Desktop.SendKeys ? ___ Lee On 10/1/18 12:42 PM, WAEL via Gambas-user wrote: > Hello > I'm trying to change system keyboard layout by pressing a key > I can't find the right code for doing so > please help > I usually press Alt+Shift to change keyboard from English to Arabic and vice > ve

Re: [Gambas-user] How to Change Keyboard Layout

2018-10-01 Thread Wael M via Gambas-user
thank you very much Lee you solved it I used: Desktop.SendKeys("[Alt_L] + [Shift_L]") so another problem appeared, I need to detect if language is Arabic or English I can't find a solution for that Can you help me? On Mon, 10/1/18, T Lee Davidson wr