Ios spotlight deletekey problem SOLVED

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Ios spotlight deletekey problem SOLVED

Post by jmburnod » Mon Apr 07, 2014 10:52 pm

Hi All
I tested several way to obtain a "spotlight tool" (like on OSX). It work well on OSX and windows but i meet problems with the deletekey which delete two chars for one input.
Here is a stack works with a list of more 4000 entries (in a stack customprop)

Is there someone who found a way to avoïd this ?

Kind regards
Jean-Marc
Attachments
stTestSpotLight.livecode.zip
(32.36 KiB) Downloaded 154 times
Last edited by jmburnod on Wed May 07, 2014 9:17 pm, edited 1 time in total.
https://alternatic.ch

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Ios spotlight deletekey problem

Post by Mark » Tue Apr 08, 2014 8:54 am

Hi Jean-Marc,

I'm not sure I understand this correctly. Whenever you press the delete key on your keyboard, 2 instead of 1 characters are deleted? Just like that? Don't you have a script that handles rawKeyUp message for example? Can you post that script here?

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Ios spotlight deletekey problem

Post by jmburnod » Tue Apr 08, 2014 10:21 am

Hi Mark,
Thanks one more for your help.
Yes, you're understand me correctly.

Sorry, t "stTestSpotLight" is a simplified part of a big stack and it works well on IOS (I have not tested on ios before posting) :oops:

It seems the problem is elsewhere in my stack

Yes i use a rawkeyup message for write in the in the target field.

After rawkeyup, the script set the contents of 20 groups (one grc, one img, one fld) but
it never works with the target fld except at the end to select after the text of the target fld.

I search and i'll come back

Kind regards

Jean-Marc
https://alternatic.ch

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Ios spotlight deletekey problem SOLVED

Post by jmburnod » Wed May 07, 2014 9:17 pm

Hi Mark,
The problem is gone but I can't explane why :?
Kind regards
Jean-Marc
https://alternatic.ch

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10044
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Ios spotlight deletekey problem SOLVED

Post by FourthWorld » Wed May 07, 2014 9:24 pm

Image
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Ios spotlight deletekey problem SOLVED

Post by Klaus » Wed May 07, 2014 9:33 pm

EXACTLY! :D :D :D

Post Reply