home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / hypercar / 3398 < prev    next >
Encoding:
Text File  |  1992-09-09  |  2.7 KB  |  73 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!lanl!davids
  3. From: davids@gardener.lanl.gov (David Simmons)
  4. Subject: Re: <None>
  5. Message-ID: <1992Sep9.142332.17785@newshost.lanl.gov>
  6. Originator: davids@feynman.lanl.gov
  7. Sender: news@newshost.lanl.gov
  8. Organization: Los Alamos National Laboratory
  9. References: <1992Sep8.175152.1@rulfsw.leidenuniv.nl> <t!sn!sn.boserj@netcom.com>
  10. Date: Wed, 9 Sep 1992 14:23:32 GMT
  11. Lines: 60
  12.  
  13.  
  14. In article <t!sn!sn.boserj@netcom.com>, boserj@netcom.com (Jeffrey Boser) writes:
  15. |> buurt1@rulfsw.leidenuniv.nl (Jasper Kips) writes:
  16. |> >This is a question about scrolling fields. For a stack I need 5 or 6 
  17. |> >fields to scroll simulteanueosly. Is there a way to do this??
  18. |> >Let me clarify : if the scroll of 1 scrolling field changes the scroll
  19. |> >of the other fields need to change to, prefably at the same time.
  20. |> 
  21. |> After some serious investigation, I hit upon a way of handling some
  22. |> basic scrolling of multiple fields..  its clunky, but it seems to
  23. |> work.
  24. |> 
  25. |> Firstly make a field that is entirely scrollbar.  this is the controller..
  26. |> in the font dialog boxes of all the fields you want to scroll, make sure
  27. |> you got the same font, same line height, and fix it.  also make sure you
  28. |> keep the lines in each field the same..  to make sure the fields dong
  29. |> get out of alignment.
  30. |> 
  31. |> Make two buttons to cover up the the up and down arrows.  make them
  32. |> transparent.  Use their mousedown scripts to handle scrolling up
  33. |> and down in all the fields by a line at a time, using set scroll of..
  34. |> 
  35. |> To handle the scrolling by the thumb and grey page up and down areas,
  36. |> let the scroll bar scroll.  In the card's IDLE script, check every
  37. |> second if the scroll of the scroll bar is the same as one of the
  38. |> fields, if different, set the scroll of them all to that of the
  39. |> scroll bar.
  40. |> 
  41. |> If you want to disable other scrollings, cover up any extranious scroll
  42. |> bars with cover fields..
  43. |> 
  44. |> Hypercard's implementaiton of scrolling is really pathetic..  It should
  45. |> have made a scrollbar object to link with a field..  instead of the
  46. |> damn field being the scroller too.
  47. |> 
  48. |> 
  49. |> .....jeff
  50.  
  51. Or, to make things a LOT easier, and less kludgey, use the Multi-Scroll
  52. XCMD by Rick Dieringer which works GREAT (thanks Rick!).
  53.  
  54. The question of multiple scrolling fields should probably be in the FAQ
  55. by now, since I and everybody else has asked it.
  56.  
  57. Cheers!
  58. -- 
  59.  
  60. David G. Simmons
  61.     
  62.     "Pollution is not the problem with our environment. 
  63.     It is the impurities in our air and water." 
  64.         --Dan "Vice-President-Rain-Man" Quayl(e)
  65.  
  66. If I said it, LANL didn't... 
  67.  
  68. -- 
  69.  
  70. David G. Simmons
  71.     
  72.     "Pollution is not the problem with our environment. 
  73.