Live search box
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
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.
On 04/30/2018 10:54 PM, dunbarx via use-livecode wrote:
> 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:
More information about the use-livecode