Solved

When I am typing into a TEdit last word repeats

Posted on 2016-08-03
7
82 Views
Last Modified: 2016-08-10
When I start typing into a TEdit (bound to String data field) the last word gets inserted automatically
eg:
Previous state = 'Hi There'
I want to add 'H'
I get 'Hi ThereThereH'
This happens only on the Android and not when running the same on Windows
I am using Delphi Seattle FireMonkey components
0
Comment
Question by:Allan_Fernandes
  • 3
  • 3
7 Comments
 
LVL 19

Expert Comment

by:Thommy
Comment Utility
It's not a FMX Problem.
I'm rather sure that your problem comes from Swype Keyboard on your Smartphone.
https://en.wikipedia.org/wiki/Swype

Check if you have Swype installed on your Smartphone...
0
 
LVL 19

Expert Comment

by:Thommy
Comment Utility
For testing you can switch back to your standard keyboard as follows:

1.) With your Keyboard shown on screen, open the notification panel by doing a swipe from the top-most part of the Display to the lower part

2.) From the notifications panel, tap on "Choose input method". You will see a list of available input method for your smartphone.

3.) From the list of input method options, for example tap on "Samsung Keyboard" to change your keyboard to standard
0
 

Author Comment

by:Allan_Fernandes
Comment Utility
What you say is correct. There is slight difference that I do not have  Swype but 'Google Keyboard' so on uninstalling it the apk is working fine.
Problem is that since I am a developer I cannot ask my users to do this process on their mobiles.
Also that I have never faced this issue otherwise on my mobile.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 19

Expert Comment

by:Thommy
Comment Utility
But perhaps you can tell your users to configure their virtual keyboards and to Switch off Auto-Fill mode...
0
 

Author Comment

by:Allan_Fernandes
Comment Utility
I will develop for a customer (like a cake shop) but I will never get in touch with mobile user.
0
 
LVL 25

Accepted Solution

by:
Sinisa Vuk earned 500 total points
Comment Utility
try to change caret position in OnEnter event:
procedure TForm1.Edit1Enter(Sender: TObject);
begin
  (Sender as TEdit).SelLength := 0;
  (Sender as TEdit).SelStart := Length((Sender as TEdit).Text);
end;

Open in new window

0
 

Author Comment

by:Allan_Fernandes
Comment Utility
Somehow my application has stopped working and am unable to test this out. Please hold another day or two.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now