Xbasic
RTFMEMO.INSERT_PAGEBREAK Function
Syntax
.INSERT_PAGEBREAK()
Description
The .INSERT_PAGEBREAK() method inserts a page break code into the RTF object at the cursor location.
Example
The following example inserts a page break into an RTF field in an open form.
dim obj as P
obj = :Customer_Information:rtfmemofield.this
obj.rtf.insert_text("This is RTF text")
obj.rtf.set_cursor(10)
obj.rtf.insert_pagebreak()Limitations
Desktop applications only.
See Also