Solved

When I am typing into a TEdit last word repeats

Posted on 2016-08-03
7
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 19

Expert Comment

by:Thommy
ID: 41741804
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
ID: 41741845
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
ID: 41743630
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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
LVL 19

Expert Comment

by:Thommy
ID: 41744074
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
ID: 41745483
I will develop for a customer (like a cake shop) but I will never get in touch with mobile user.
0
 
LVL 27

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 41746464
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
ID: 41748246
Somehow my application has stopped working and am unable to test this out. Please hold another day or two.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month10 days, 9 hours left to enroll

628 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