Live search box

Heriberto Torrado htorrado at networkdreams.es
Tue May 1 21:28:53 EDT 2018


Thank you very much Cray,

Your solution is very useful and works perfectly, but now I have another 
problem.

How could I fill out with texts this custom property ("rawText') by script?

My application is multi-language (English, Spanish and French), so when 
someone clicks on the language button, this custom property must be 
filled with the different data of the different languages.
I cannot see how to do that on the Livecode Dictionary.

Best,
Hery


On 04/30/2018 10:54 PM, dunbarx via use-livecode wrote:
> Hi.
>
> This is fun to do. Make two fields. In the target field, the one you will
> type into, set a custom property "rawText" to some long list of words,
> perhaps chapter 1 of your favorite novel. It is a good idea to strip all
> punctation from that text before setting the prop.
>
> In that field, place this handler:
>
> on keyDown tKey
>     if the length of me > 2 then put line lineOffset(me,the rawText of me) of
> the rawText of me into fld 2
>     pass keydown
> end keyDown
>
> Craig Newman
>
>
>
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list