calculating vscroll

Mark Smith mark at maseurope.net
Wed Dec 21 14:10:35 EST 2005


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




More information about the use-livecode mailing list