home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / hypercar / 4734 < prev    next >
Encoding:
Text File  |  1993-01-07  |  2.4 KB  |  62 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!rpi!usenet.coe.montana.edu!news.u.washington.edu!serval!tomar.accs.wsu.edu!yeidel
  3. From: yeidel@tomar.accs.wsu.edu (Joshua Yeidel)
  4. Subject: Re: Scrolling field problem....
  5. Message-ID: <1993Jan7.194251.14148@serval.net.wsu.edu>
  6. Lines: 49
  7. Sender: news@serval.net.wsu.edu (USENET News System)
  8. Reply-To: yeidel@tomar.accs.wsu.edu (Joshua Yeidel)
  9. Organization: Academic Computing Services, Washington State University
  10. References:  <1993Jan7.183928.25218@utkux1.utk.edu>
  11. Date: Thu, 7 Jan 93 19:42:51 GMT
  12.  
  13.  
  14. In article <1993Jan7.183928.25218@utkux1.utk.edu>, danny@martha.utcc.utk.edu (Danny William McCampbell) writes:
  15. |>From: danny@martha.utcc.utk.edu (Danny William McCampbell)
  16. |>Subject: Scrolling field problem....
  17. |>Organization: University of Tennessee Computing Center
  18. |>Lines: 17
  19. |>
  20. |>Hi all.  I have two scrolling fields side by side.  Each contain text.
  21. |>I have enabled an option to have the fields to scroll together or
  22. |>seperately.  The problem is when the fields are set to scroll together
  23. |>one field has more text than the other and the last few lines of the
  24. |>other field are not visible.  I cannot have this.  Is there any way
  25. |>to find out what the very last scroll number is in the field with
  26. |>the longest text as well as the other field so when one gets to the
  27. |>end I can set the other one to the end?  Please help me........
  28. |>
  29. |>Any suggestions on maybe a different way to go about this would be
  30. |>greatly appreciated.
  31. |>
  32. |>
  33. |>--
  34. |>Danny McCampbell
  35. |>UT Computing Center
  36. |>danny@utkux1.utk.edu
  37. |>
  38.  
  39. You might try adding lines to the shorter of the two fields to make
  40. them equal in height ( I don't know whether wrap-around of text would
  41. create problems as well).  
  42.  
  43. For example, if your fields are F1 and F2, you might have the script
  44. of F1 contain
  45.  
  46. on closeField
  47.    put the number of lines of fld f2 into n
  48.    repeat while the number of lines of me < n
  49.       put return after me
  50.    end repeat
  51. end closeField
  52.  
  53. This is *NOT* tested -- I didn't even look up the "repeat"
  54. syntax -- this is just a sketch of code.
  55.  
  56. --
  57. Joshua Yeidel               | yeidel@tomar.accs.wsu.edu
  58. Academic Computing Services | All standard disclaimers apply
  59. Washington State University |   "Believe it if you need it, 
  60. Pullman, WA 99164-1226      |     or leave it if you dare..."
  61. 509/335-0441                |         -- Robert Hunter
  62.