home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global citta, n
- put EMPTY into field "nota2"
- UpArrowPressed(17)
- if the top of sprite 8 = 364 then
- set n to integer(n - 1)
- if n = 0 then
- set n to 12
- end if
- set k to the number of lines in field ("cap" & citta & n)
- put line 1 to k of field "numbis" into field "num"
- put field ("cap" & citta & n) into field "cap"
- put field ("nome" & citta & n) into field "nome"
- put field ("tipo" & citta & n) into field "tipo"
- put field ("nota" & citta & n) into field "nota"
- put field ("nota1" & citta & n) into field "nota1"
- set the locV of sprite 5 to 377
- set the locV of sprite 7 to 364
- set the locV of sprite 8 to 364
- set the locV of sprite 9 to 364
- set the locV of sprite 10 to 364
- set the locV of sprite 11 to 364
- endscroll()
- initScroll(3, 4, 5, 6, 7, 11)
- end if
- end
-
- on rightMouseDown
- global citta, n
- if the rightMouseDown then
- put EMPTY into field "nota2"
- UpArrowPressed(136)
- if the top of sprite 8 = 364 then
- set n to integer(n - 1)
- if n = 0 then
- set n to 12
- end if
- set k to the number of lines in field ("cap" & citta & n)
- put line 1 to k of field "numbis" into field "num"
- put field ("cap" & citta & n) into field "cap"
- put field ("nome" & citta & n) into field "nome"
- put field ("tipo" & citta & n) into field "tipo"
- put field ("nota" & citta & n) into field "nota"
- put field ("nota1" & citta & n) into field "nota1"
- set the locV of sprite 5 to 377
- set the locV of sprite 7 to 364
- set the locV of sprite 8 to 364
- set the locV of sprite 9 to 364
- set the locV of sprite 10 to 364
- set the locV of sprite 11 to 364
- endscroll()
- initScroll(3, 4, 5, 6, 7, 11)
- end if
- end if
- end
-