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

  1. on mouseUp
  2.   global goGBTools, gnDeInsCast, gnDeInsLine, gbPopIsOn, gbInstallActive
  3.   set gnDeInsCast to the castNum of sprite the clickOn
  4.   put gnDeInsCast
  5.   set nTextVPos to the locV of sprite the clickOn
  6.   set nTextHeight to the textHeight of field gnDeInsCast
  7.   set gnDeInsLine to ((the mouseV - nTextVPos) / nTextHeight) + 1
  8.   set sDeinstall to line gnDeInsLine of the text of field gnDeInsCast
  9.   if sDeinstall <> EMPTY then
  10.     set gbPopIsOn to 1
  11.     set gbInstallActive to 1
  12.     MsgBox("JaNein", "Deinstallieren", RETURN & "Wollen Sie " & sDeinstall & " wirklich l├╢schen?")
  13.     set gbPopIsOn to 1
  14.   end if
  15. end
  16.