Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

When I am typing into a TEdit last word repeats

Posted on 2016-08-03
7
Medium Priority
?
227 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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 video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

688 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