beautypg.com

Functions and methods 16, Application-defined methods 16 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 616

background image

C H A P T E R 1 6

Find

16-28

Summary

Functions and Methods

16

RegFindApps(

appSymbol

)

//registers app. for global &

//selected finds

UnRegFindApps(

appSymbol

) //unregs. app for non-local finds

statusView

:SetMessage(

msg

)//sets string in progress view

view

:StandardFind (

what

,

soupName

,

results

,

statusView

,

indexPath

)

//searches soups

Application-Defined Methods

16

appBase

:Find (

what

,

results

,

scope

,

statusView

) //text find

appBase

:FindTargeted (

what

,

results

,

scope

,

statusView

,

target

)

// targeted text find

appBase

:DateFind (

findTime

,

compareHow

,

results

,

scope

,

statusView

)

// date find

appBase

:DateFindTargeted (

what

,

results

,

scope

,

statusView

,

target

)

// targeted date find

appBase

:AppFindTargets ()//sets targets for targeted finds

targetView

:FindSoupExcerpt(

entry

,

resultFrame

)// returns string

// to display in find overview

targetView

:ShowFoundItem (

foundItem

,

myFinder

) //show found

//item

appBase

:CustomFind() //Does all find work