difference selectedline / hilitedline?

Thomas McGrath III 3mcgrath at comcast.net
Mon Sep 29 10:12:14 EDT 2008


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?

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" ;-)
>
>
> Best
>
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de
>
>
> _______________________________________________
> 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