4D Blog

Home Product 4D Write Pro – Continuous Section Breaks

4D Write Pro – Continuous Section Breaks

October 4, 2021

Product

Starting with 4D v19 R3, 4D Write Pro supports continuous section breaks.

A continuous section break creates a section in its own right but without causing a page break.
This allows, among other things, to have different numbers of columns on the same page!

Insert continuous section breaks

continuous section breaks

Continuous section breaks can be used to produce documents such as the one below: 

 

The new section can immediately have a different number of columns than the one before it (this is the main interest of continuous section breaks) but also different margins.

On the other hand, the headers, footers, anchored images, etc. of this new section will only be taken into account when a physical page break has occurred.

Programming and Standard Action

Inserting a continuous section break can be done in many ways:

By programming via the WP Insert break command, which now supports a new value: wk continuous section break.

$selection:=WP Selection range(WParea)
WP INSERT BREAK($selection; wk continuous section break; wk replace)

By using a menu with an associated standard action: 

APPEND MENU ITEM($menu; ak standard action title)
SET MENU ITEM PROPERTY($menu; -1; Associated standard action; "insertContinuousSectionBreak")

Or even more simply, by adding a standard action to a button:

blank

user interface

The user interface has been improved to include this new feature.

blank

Don’t forget, the source code is available on GitHub. Feel free to adapt it to your needs!

Conclusion

It’s now possible to have different numbers of columns on the same page. Many other options are also available and will offer you new possibilities for the layout of your professional documents.

Discuss

Tags 4D Write Pro, Document creation, Section break, v19 R3, v20, Word processor

Latest related posts

  • May 20, 2025

    Automatic Refresh of OEM Build Licenses

  • May 16, 2025

    New class to handle incoming TCP connections

  • April 29, 2025

    Discover your AI-powered writing assistant in 4D Write Pro

Roland Lannuzel
Roland Lannuzel
• Product Owner & 4D Expert •After studying electronics, Roland went into industrial IT as a developer and consultant, building solutions for customers with a variety of databases and technologies. In the late 80’s he fell in love with 4D and has used it in writing business applications that include accounting, billing and email systems.Eventually joining the company in 1997, Roland’s valuable contributions include designing specifications, testing tools, demos as well as training and speaking to the 4D community at many conferences. He continues to actively shape the future of 4D by defining new features and database development tools.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy