PGetNextFrame

Gets the object ID of the next (or previous) frame in a chain.

This query is new in PageMaker 6.5


Query constructor

PGetNextFrame(short nDirection);
0 - get the next frame
1 - get the previous frame


Query results

long nObjectID;
Unique object ID of the requested frame
-1 if there is no next or previous frame
Exactly one of the frames in a chain must be selected before making this query, otherwise the query object will throw an exception.


See also

The PAttachContent, PBreakLinks, PDeleteContent, PFrameContentPos, PFrameInset, PLinkFrames, PSeparateContent, and PToggleFrame commands

The PGetFrameContentPos, PGetFrameInset, PGetFrameContentType, and PGetIsFrame queries


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support