home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global goGBTools
- set nList to the clickOn - 1
- set nListCast to the castNum of sprite nList
- set nTextVPos to the locV of sprite nList
- set nTextHeight to the textHeight of field nListCast
- set n to ((the mouseV - nTextVPos) / nTextHeight) + 1
- set sDir to line n of the text of field nListCast
- if sDir <> EMPTY then
- goGBTools(mChDir, sDir)
- set the text of cast "zielText" to goGBTools(mGetCurPath)
- set the text of cast "Ordner" to goGBTools(mGetDir)
- ReadWindow()
- end if
- end
-