General information
Category:
COM/DCOM and OLE Automation
>Then I would like to gather up all of those paragraphs into a paragraphs collection (oParagraphs) and issue .... oParagraphs.KeepTogether = .t.
KeepTogether determines whether an individual paragraph must be kept on a single page. It doesn't affect consecutive paragraphs.
KeepWithNext controls consecutive paragraphs; when it's True, the paragraph and the following paragraph must be on the same page.
Thus, it sounds like what you need to do is set KeepTogether to True for every paragraph in this group, and set KeepWithNext to True for all but the last.
You can probably simplify the whole thing by setting up a style that has all the characteristics you need.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only