Adding a New Editor to People in Names
InstallScript
and RemoveScript
:
InstallScript := func(partFrame,removeFrame) begin local dataDefSym := EnsureInternal('person); RegisterViewDef( GetLayout("ColorEditorViewDef.t"), dataDefSym); end; RemoveScript := func(removeFrame) begin UnRegisterViewDef(kNameColorEditorViewDefSym, 'person); endSave the file as "Install and Remove" and add it to the project.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996