I have made a test : $range:=WP Text range(wpDoc;100;100) INVOKE ACTION("insertSectionBreak") $range:=WP Text range(wpDoc;0;100) WP SET ATTRIBUTES($range;wk column count;2) $range:=WP Text range(wpDoc;100;200) WP SET ATTRIBUTES($range;wk column count;3)
Error message « Attribute 130 not authorize » Very clear… Doc is explicit The WP SET ATTRIBUTES command allows you to set the value of any attribute in a range, element or document. But it doesn’t work or I miss something. Cordialement, Bernard Escaich > Le 10 janv. 2020 à 23:24, Eric Naujock via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > I see I can add a new subsection. But I am still trying to figure out how I > would create new sew section object to append to a document. I see I need to > have a second section to change from a one column layout to a 2 column > layout. But there does not seem to be ab way to create a section object or > append a new section to a WP document. Any hints out there. I need to do this > programmatically. > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************