Jump to content
Sign in to follow this  
grantful

Show tedit box while typing

Recommended Posts

I hope someone can point me in the right direction.

I am learning to develop for mobile.

 

My problem is when i click in an edit box to type the phones keybord covers the editbox and i can not see what is being typed.

 

Is there a solution to this problem ?

Thanks for any help.

Share this post


Link to post
11 minutes ago, grantful said:

My problem is when i click in an edit box to type the phones keybord covers the editbox and i can not see what is being typed.

There's a number of ways to achieve it, and most involve changing the position of the control, or more likely a control that contains it, since other controls will usually be included in the same "container". For example, you might have a label next to, or above, the edit. Having them both contained inside the same control means that the "container" should be moved "upwards" sufficiently so that the edit appears above the keyboard.

 

There is a demo here, that helps make all this close to automatic. Note that the demo uses code from the Features\VKObserver folder of the same repo. It's not perfect, however it is useful for most scenarios.

 

 

Share this post


Link to post

@grantful

 

see on Demos RAD

  • Object Pascal\Multi-Device Samples\User Interface\ScrollableForm

 

here blog from Fernando Rizzato, MVP Embarcadero Brazil

Controlling keyboard on mobile - 

https://www.google.com/amp/s/blogs.embarcadero.com/pt/controlando-o-teclado-no-mobile-com-firemonkey/amp/

 

https://github.com/flrizzato/coding/tree/master/ScrollableForm

Edited by programmerdelphi2k

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×