home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!rpi!usenet.coe.montana.edu!news.u.washington.edu!serval!tomar.accs.wsu.edu!yeidel
- From: yeidel@tomar.accs.wsu.edu (Joshua Yeidel)
- Subject: Re: Scrolling field problem....
- Message-ID: <1993Jan7.194251.14148@serval.net.wsu.edu>
- Lines: 49
- Sender: news@serval.net.wsu.edu (USENET News System)
- Reply-To: yeidel@tomar.accs.wsu.edu (Joshua Yeidel)
- Organization: Academic Computing Services, Washington State University
- References: <1993Jan7.183928.25218@utkux1.utk.edu>
- Date: Thu, 7 Jan 93 19:42:51 GMT
-
-
- In article <1993Jan7.183928.25218@utkux1.utk.edu>, danny@martha.utcc.utk.edu (Danny William McCampbell) writes:
- |>From: danny@martha.utcc.utk.edu (Danny William McCampbell)
- |>Subject: Scrolling field problem....
- |>Organization: University of Tennessee Computing Center
- |>Lines: 17
- |>
- |>Hi all. I have two scrolling fields side by side. Each contain text.
- |>I have enabled an option to have the fields to scroll together or
- |>seperately. The problem is when the fields are set to scroll together
- |>one field has more text than the other and the last few lines of the
- |>other field are not visible. I cannot have this. Is there any way
- |>to find out what the very last scroll number is in the field with
- |>the longest text as well as the other field so when one gets to the
- |>end I can set the other one to the end? Please help me........
- |>
- |>Any suggestions on maybe a different way to go about this would be
- |>greatly appreciated.
- |>
- |>
- |>--
- |>Danny McCampbell
- |>UT Computing Center
- |>danny@utkux1.utk.edu
- |>
-
- You might try adding lines to the shorter of the two fields to make
- them equal in height ( I don't know whether wrap-around of text would
- create problems as well).
-
- For example, if your fields are F1 and F2, you might have the script
- of F1 contain
-
- on closeField
- put the number of lines of fld f2 into n
- repeat while the number of lines of me < n
- put return after me
- end repeat
- end closeField
-
- This is *NOT* tested -- I didn't even look up the "repeat"
- syntax -- this is just a sketch of code.
-
- --
- Joshua Yeidel | yeidel@tomar.accs.wsu.edu
- Academic Computing Services | All standard disclaimers apply
- Washington State University | "Believe it if you need it,
- Pullman, WA 99164-1226 | or leave it if you dare..."
- 509/335-0441 | -- Robert Hunter
-