calculating vscroll

Chris Sheffield cmsheffield at gmail.com
Wed Dec 21 14:25:11 EST 2005


Ah, haven't tried that.  I've been using "set the hilitedLine  
to ...".  I'll try using select instead.  Thanks.

Chris

On Dec 21, 2005, at 12:10 PM, Mark Smith wrote:

> How are you selecting the line? I just tried 'select line 21' of a  
> field (field is only about 4 lines high), and it scrolled right to  
> it without me having to do anything....
>
> Mark
>
> On 21 Dec 2005, at 18:32, Chris Sheffield wrote:
>
>> It's been a while since I've posted anything to the list.
>>
>> I'm thinking this one probably has an easy answer and I'm missing  
>> it for some reason.  Anyone know how to calculate the vscroll of a  
>> field based on the hilitedLine of that field?
>>
>> What I want to do is highlight/select a line in a field (this part  
>> is working fine) then scroll the field to that line (this is the  
>> part I don't know how to do).  Any help would be appreciated.
>>
>> Thanks,
>> Chris
>>
>>
>> ------------------------------------------
>> Chris Sheffield
>> Read Naturally
>> The Fluency Company
>> http://www.readnaturally.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
>
> _______________________________________________
> 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