AW: difference selectedline / hilitedline?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Mon Sep 29 12:46:01 EDT 2008


Bonsoir Tiemo, Klaus and Tom,

Probably a good idea (?) could be to implement a selectionChanged  
handler.
A mouseDown or a 'set the hilitedLines' would trigger it in all cases.

Le 29 sept. 08 à 18:11, Tiemo Hollmann TB a écrit :

> Hi Klaus,
> Yes you are right, if I would have wanted also all actions to be  
> performed,
> as if the mouse had clicked. In my case setting the hilitedline  
> made it
> (should have been more precise :)
> Tiemo
>
>> -----Ursprüngliche Nachricht-----
>> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
>> bounces at lists.runrev.com] Im Auftrag von Klaus Major
>> Gesendet: Montag, 29. September 2008 17:41
>> An: How to use Revolution
>> Betreff: Re: difference selectedline / hilitedline?
>>
>> Hi Thomas,
>>
>>> Wouldn't it be better to write:
>>>  focus on  fld "foo"
>>> rather than:
>>> send "mouseUp" to fld "foo"
>>> since focus guaranties the focus but mouseUp does not?
>>
>> But "mouseup" guarantees what Tiemo wanted:
>>
>>>>>  the "correct" way to select a
>>>>> textline in a field, as if it would have been clicked by the  
>>>>> mouse.
>>
>> If that is what he wanted. :-)
>>
>>> Tom McGrath
>>> On Sep 29, 2008, at 9:28 AM, Klaus Major wrote:
>>>> Hi Tiemo
>>>>> Hello,
>>>>> Which of the following both options is the "correct" way to  
>>>>> select a
>>>>> textline in a field, as if it would have been clicked by the
>>>>> mouse. I can't
>>>>> actually find any difference in the result.
>>>> I would prefer solution 1 plus another important line:
>>>>> set the hilitedline of field "foo" to 1
>>>> send "mouseup" to fld "foo"
>>>> ## to make if really behave like "have been clicked by the  
>>>> mouse" ;-)
>>
>> Regards
>>
>> Klaus Major
>> klaus at major-k.de
>> http://www.major-k.de




More information about the use-livecode mailing list