229 views
in GUI Development by

Hi,

   I am working in virtual keyboard.when i click CapsLockLeft button layouts showing in Capital letters next i click close button virtual keyboard is closed

again i call Keyboard.open mehod it is showing in captial letter .

when i  am init virtualkeyboard it is showing small letter layout right but it is not show correctly

can you please explain or please guide  me to resole the issue.if any other way to acheive this.

 

https://ask.embedded-wizard.de/?qa=blob&qa_blobid=4407049910966430385

With Reagrds

Ramesh.G

1 Answer

0 votes
by

Hi Ramesh,

to fix this issue you can do the following:

1. Create at ExtendedVirtualKeyboard::KeyboardAnimated a slot called onMoveEffectFinished with the following content:

signal onMoveEffect;

// Reset the keyboard character layout and the states of the capslock buttons
if ( keyboard != null )
{
  keyboard.keyboardLayout = ExtendedVirtualKeyboard::CharacterLayout.ShiftOff;
  keyboard.CapsLockLeft.State = ExtendedVirtualKeyboard::CapsLockState.Off;
  keyboard.CapsLockRight.State = ExtendedVirtualKeyboard::CapsLockState.Off;
}

2. Set this slot inside the inspector at moveEffect.OnFinished

Regards,

Julian

by
Hi julian,

     Thanks for the update .It is working fine now.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...