home *** CD-ROM | disk | FTP | other *** search
/ PC go! 1996 July / Image.iso / mrmore / mrmore.dir / 00654.ls < prev    next >
Encoding:
Text File  |  1996-04-11  |  535 b   |  16 lines

  1. on mouseDown
  2.   global goGBTools
  3.   set nList to the clickOn - 1
  4.   set nBar to the clickOn - 2
  5.   set the puppet of sprite nBar to 1
  6.   set nTextVPos to the locV of sprite nList
  7.   set nTextHeight to the textHeight of field the castNum of sprite nList
  8.   set n to ((the mouseV - nTextVPos) / nTextHeight) + 1
  9.   set sDrive to line n of the text of field the castNum of sprite nList
  10.   if sDrive <> EMPTY then
  11.     set the locV of sprite nBar to ((n - 1) * nTextHeight) + nTextVPos
  12.     goGBTools(mSetDrive, sDrive)
  13.     ReadWindow()
  14.   end if
  15. end
  16.