beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 730

background image

C H A P T E R 1 9

Built-in Applications and System Data

19-56

Summary

calendar

:SetMeetingNotes(

mtgText, mtgStartDate, notes

)

// sets notes for specified meeting or event

calendar

:SetRepeatingEntryStopDate(

mtgText, mtgStartDate, mtgStopDate

)

// sets last date for specified repeating

// meeting or event

calendar

:UnRegInfoItem(

symbol

) // removes item from info

// picker

calendar

:UnRegMeetingType(

symbol

) // removes meeting type

// from New picker

To Do List Methods

19

toDoFrame

:CreateToDoItem(

date

,

richString

,

reminder

,

frequency

)

// adds a task on specified date

toDoFrame

:CreateToDoItemAll(

date

,

richString

,

reminder

,

frequency

,

priority, completed

) // Adds a task with

// priority and completion information

toDoFrame

:EnsureVisibleTopic(

index

) // Scrolls the To Do

// List as necessary to display a task

toDoFrame

:GetToDoItemsForRange (

beginDate

,

endDate

) //Returns

// topics for a range of dates

toDoFrame

:GetToDoItemsForThisDate (

date

) // Returns

// topics for date

toDoFrame

:GetTaskShapes (

originalShapes, task, yOffset, width

,

font

)

// Returns an array of shapes for the task

toDoFrame

:GetToDoShapes (

date

,

yOffset

,

width

,

font

) // Returns

// an array of shapes for the task

toDoFrame

:LastVisibleTopic() // Returns the index of the

// last topic drawn in the view

toDoFrame

:NextToDoDate(

date

) // Returns the date of the

// next task

toDoFrame

:RemoveOldTodoItems(

beforeDate

,

removeWhich

,

nil

)

// Removes tasks from before a sppecified date

toDoFrame

:SetDone(

index, topic, done, nil, nil

) // Marks a task

// completed

SetPriority(

index, priority, undo

) //Sets the priority of a task