Delphi XE7 FMX Android Input Control Adaptive virtual keyboard location

Source: Internet
Author: User

XE7 with the demo, demonstrates how to adapt to the virtual keyboard, that is, when the virtual keyboard pops up, if the current input, such as Edit1, then recalculate the position of all the controls on the screen, so that Edit1 can normally display on the keyboard, so that users can see the input content. The problem is that after the keyboard pops up, if the user uses the hidden key on the keyboard, after hiding the keyboard, can not restore the position of the controls on the screen, this problem, in fact, XE5 exists.
Thank you for the flying on the box.
Wang, with his method, solves the above problem very well:
The original is here, and the changed FMX.VirtualKeyboard.Android.pas code is here.

Delphi XE7 FMX Android Input Control Adaptive virtual keyboard location

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.