home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gTB
- set the visible of sprite 25 to 1
- set x to doPopMenu(26, the left of sprite the clickOn, the top of sprite the clickOn)
- if x > 0 then
- put line x of field "Fields" into field "fld"
- end if
- if field "fld" = "All Shareware" then
- go("findall")
- end if
- puppetSound(1, "sound4")
- mSetCriteria(gTB, "category", "start", field "fld")
- mSelect(gTB)
- set n to mSelectCount(gTB)
- if n <> 0 then
- put n into field "NumberFound"
- put mGetField(gTB, "section") into field "section"
- put mGetField(gTB, "category") into field "category"
- put mGetField(gTB, "name") into field "name"
- put mGetField(gTB, "filepath") into field "filePath"
- put mGetField(gTB, "version") into field "version"
- put mGetField(gTB, "description") into field "description"
- put mGetField(gTB, "url") into field "url"
- put mGetField(gTB, "contact") into field "contact"
- else
- nothing()
- end if
- put field "description" into field "DummyField"
- showSelection()
- set the scrollTop of member "zlist" to 1
- end
-