497 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...