Hi Jeremy, I haven’t actually done it, but I think you wouldn’t insert a break, but rather create a new “WP Section”. This blog posting may help:
https://blog.4d.com/manage-sections-with-code-in-a-4d-write-pro-document/ HTH, Tom Benedict > On November 1, 2019 at 7:55 AM Jeremy French via 4D_Tech > <[email protected]> wrote: > > > How would I programmatically format a page, like this: > > <2-columns> > <section break> > <1-column> > > In other words -- on the **same** page -- I would like to have > **2-different** layouts. > > Initially, the layout is 2-text columns. > The -- while remaining on the same page -- I would like to change the layout > to a single text column. > > When I call WP INSERT BREAK with break type "wk section break", a new page is > started. > > How do I prevent the new page? > > > Documentation: > > WP INSERT BREAK > https://doc.4d.com/4Dv17R6/4D/17-R6/WP-INSERT-BREAK.301-4433899.en.html > <https://doc.4d.com/4Dv17R6/4D/17-R6/WP-INSERT-BREAK.301-4433899.en.html> > > Layout Attributes > https://doc.4d.com/4Dv17R6/4D/17-R6/4D-Write-Pro-Attributes.300-4433872.en.html#3936504 > > <https://doc.4d.com/4Dv17R6/4D/17-R6/4D-Write-Pro-Attributes.300-4433872.en.html#3936504> > ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

