SelectionChanged issue

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Jul 7 04:49:55 EDT 2005


Hi Xavier,

Not any message is sent by the engine when you just click anywhere in  
the text of a field.
My question was:
Is there a best way than using a pending message (kind of 75-mm gun  
to shoot a spider as we say in French -:) to know in real time if  
there is at least 1 selected char in a field and not only the  
insertion point blinking?
At the moment I use a pending message which checks if word 4 of the  
selectedChunk >= word 2 of the selectedChunk
I would find a light solution :-)

Le 7 juil. 05 à 10:41, xbury.cs at clearstream.com a écrit :

> Then cover all the events possible (closefield, enterfield, etc...)
>
> Dont forget to "pass" the events...
>
> It's the best way. Im now aware of any problems.
>
> One other way which i use in a plugin is to send repeated checks  
> with a
> timed send message.
>
> cheers
> Xavier
>
> On 07/07/2005 10:37:51 use-revolution-bounces wrote:
>
>> Hi Xavier,
>>
>> Thank you.
>> You are right.
>> But the problem is that I want to know that in real time to enable/
>> disable a button :-)
>>
>> Le 7 juil. 05 à 10:34, xbury.cs at clearstream.com a écrit :
>>
>>
>>> Just use the selectedchunk...
>>>
>>> You'll see the difference between one selected char and just an
>>> insertion
>>> point
>>> when word 4 of the selchunk <= than word 2 of the selchunk. If i
>>> remember
>>> correctly.
>>>
>>
>> Best Regards from Paris,
>>
>> Eric Chatonet.
>> ----------------------------------------------------------------
>> So Smart Software
>>
>> For institutions, companies and associations
>> Built-to-order applications: management, multimedia, internet, etc.
>> Windows, Mac OS and Linux... With the French touch
>>
>> Free plugins and tutorials on my website
>> ----------------------------------------------------------------
>> Web site        http://www.sosmartsoftware.com/
>> Email        eric.chatonet at sosmartsoftware.com/
>> Phone        33 (0)1 43 31 77 62
>> Mobile        33 (0)6 20 74 50 86
>> ----------------------------------------------------------------
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>>
> subscription
>
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
> -----------------------------------------
> Visit us at http://www.clearstream.com
>
> IMPORTANT MESSAGE
>
> Internet communications are not secure and therefore Clearstream
> International does not accept legal responsibility for the contents of
> this message.
>
> The information contained in this e-mail is confidential and may be
> legally privileged. It is intended solely for the addressee. If you  
> are
> not the intended recipient, any disclosure, copying, distribution or
> any action taken or omitted to be taken in reliance on it, is
> prohibited and may be unlawful. Any views expressed in this e-mail are
> those of the individual sender, except where the sender specifically
> states them to be the views of Clearstream International or of any of
> its affiliates or subsidiaries.
>
> END OF DISCLAIMER
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>



Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list