InfoBoxExtract
dataDef:InfoBoxExtract(target, maxSize, viewDefView)
Called conditionally by Newton Works when the user opens the title slip, to get extra information to add to the title slip.
DISCUSSION
- target
- The current entry in Newton Works.
- maxSize
- A bounds frame defining the maximum size of the shape you can return. It contains the slots
left
,top
,right
, andbottom
.
- viewDefView
- The viewDef for the target.
- return value
- Return an array of one or more shapes, which are added to the bottom of the title slip, or
nil
if you don't want to add any extra information.
The shapes you return must fit inside the rectangle described by maxSize. Typically you don't need the maximum size, so just return a shape that is smaller than this size. Newton Works puts the shape you return at the bottom of the Title slip, making the slip just big enough to hold the shape you return.
This method is optional. If you don't supply it, no extra information is added to the title slip.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help