754 views
in GUI Development by
Hi,

   In virtual keyboard when i long press -accented charcacter are displayed.how i get accentded char window in single button press.

please guide me to learn this.

With Regards,

Ramesh.G

1 Answer

0 votes
by
Hi Ramesh,

can you please give me here more information about your use case.

How do you want to enter non accented characters if the accented char window always immediately opens?

Regards,

Julian
by

Yes.when i click button i want show accented char window also.and before relase the button the background of the button color will be changed.

 

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

 

with regards,

Ramesh.G

by

Hi Ramesh,

to achieve this you can do the following modifications at ExtendedVirtualKeyboard::KeyboardQWERTZ:

  1. Remove the DimRect and all the references on it
  2. Remove the onHold slot from the TouchHandler
  3. Call onHold with signal inside the onPressTouch at the end
  4. Set the comparison within onHold of TouchHandler.HoldPeriod to >= 0
  5. Replace inside onHold 'keyView' with 'FindViewAtPosition( RelatedCharacters, recentPosition, Core::ViewState[ Visible ])'
  6. Remove from the TouchHandler inside the inspector the RetargetCondition tick at LongPress
  7. Inside the onReleaseTouch slot close the RelatedCharacters by adding at the bottom: 'RelatedCharacters.Visible = false; RelatedCharacters.Enabled = false;'

Regards,

Julian

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

...