how to get the textfont of the clickchunk in an unlocked field ?

Langers Christian christian.langers at education.lu
Thu Sep 1 08:59:45 EDT 2005


Hello everybody (Eric, Jonathan, Ken),

I used your suggestions and it just works fine....

Thanks, :-)



Christian




Le 31 août 05 à 20:53, Ken Ray a écrit :

> On 8/31/05 9:52 AM, "Langers Christian"  
> <christian.langers at education.lu>
> wrote:
>
>
>> Well I wanted to be able to get the font name to be displayed when
>> the user clicks (with MouseButtonNumber 1 !!!)  a word/textchunk in a
>> textfield...
>>
>> I tried this handler in the textfield :
>>
>> on mouseUp
>>      put the effective textfont of the clickChunk
>> end mouseUp
>>
>> but mouseUp/down meassages are not sent to the textfield....
>>
>
> Use "selectionChanged" instead... that should work.
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com
>
>
> _______________________________________________
> 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
>




More information about the use-livecode mailing list