http://www.newton-inc.com/dev/techinfo/qa/qa.htm
UnRegStamps
method, my registered stamps do not get unregistered. What is going wrong?UnRegStamps
method that causes stamps to remain registered. Use the following code to unregister your stamps:local viewDef := GetViewDefs( 'drawPaper ).default;if viewDef then begin // Call UnregStamps conditionally. If the Draw application is not // installed, GetViewDefs will return the "Missing Stationery" // stationery. viewDef:?UnregStamps( kStampRegistrySymbol ); local registry := GetViewDefs( 'drawPaper ).StampListRegistry; if registry AND HasSlot( registry, kStampRegistrySymbol ) then RemoveSlot( registry, kStampRegistrySymbol ); end;
UnRegStamps
method is required for future compatibility.