home *** CD-ROM | disk | FTP | other *** search
- property texto, direccion
-
- on getPropertyDescriptionList me
- lista = [:]
- addProp(lista, #texto, [#format: #text, #default: "descripcion", #comment: "Cast para el scroll"])
- addProp(lista, #direccion, [#format: #symbol, #default: #arriba, #range: [#arriba, #abajo], #comment: "Direccion"])
- return lista
- end
-
- on mouseDown me
- if direccion = #arriba then
- d = -1
- else
- d = 1
- end if
- repeat while the mouseDown
- scrollByLine(texto, d)
- updateStage()
- end repeat
- end
-