268 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

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

...