home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- set the editable of member "fieldUserVol" to 1
- end
-
- on keyUp
- if (the keyCode = 36) or (the keyCode = 76) then
- delete char -30000 of field "fieldUserVol"
- set the editable of member "fieldUserVol" to 0
- set testo to field "fieldUserVol"
- if integer(testo) > 128 then
- put "128" into field "fieldUserVol"
- end if
- if integer(testo) < 0 then
- put "0" into field "fieldUserVol"
- end if
- end if
- end
-