Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 2 - TextEdit / TextEdit Reference
Routines / Displaying and Scrolling Text


TEFromScrap

The TEFromScrap function copies the contents of the desk scrap to the TextEdit
private scrap.

FUNCTION TEFromScrap: OSErr;
DESCRIPTION
You use this function to move monostyled text across applications or between an application and a desk accessory.

ASSEMBLY-LANGUAGE INFORMATION
You can store a handle to the desk scrap in the global variable TEScrpHandle and the size of the desk scrap in the global variable TEScrpLength; get the desk scrap's handle and size by calling the Scrap Manager's InfoScrap function.

RESULT CODE
noErr0No error
SEE ALSO
For more information about the InfoScrap function and the desk scrap, see the chapter "Scrap Manager" in Inside Macintosh: More Macintosh Toolbox.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996