From: Rene Dorta <"Rene>
Date: Sat, 10 Feb 2001 17:46:48 -0400

If I scroll the content of a view up to some position, and need to read from
the first displayed line on, how can I set the position of a reader at the
beginning of the first visible line on that scrolled view?.

Here is a fragment of my code:
 VAR v: TextViews.View; s: TextMappers.Scanner; org, dy, x: INTEGER;
 s.ConnectTo (v.ThisModel());
 v.SetOrigin (org, dy); (* scroll up v by -dy units *)
 s.SetPos (x); (** How to calculate this x?, the top line´s starting
character position *)
Best regards,
                           René Dorta

Universidad de Carabobo
Escuela de Ingeniería Eléctrica
Valencia. Venezuela.


To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
Received on Sat Feb 10 2001 - 21:46:48 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:44 UTC