4D Write Pro: Say hello to table headers
Tables are an essential part of 4D Write Pro. They evolve regularly by offering new presentation options. For example, a table can be displayed on several columns or pages. The table headers are repeated at the top of each column or page to make it easier for the user to read.
Starting with 4D v19 R5, the table can be enhanced with headers.
ORDA and 4D Write Pro : The power couple!
4D Write Pro documents often contain formulas returning data or calculations depending on the database. Thanks to the use of contexts, associating that data with documents is now child’s play!
In this blog post, we’ll see how the combination of 4D Write Pro documents with data retrieved using ORDA makes the code clear and easy to maintain.
4D Write Pro – Elevate your documents’ layout with linked paragraphs
The layout of documents is a vital topic in many businesses, and there are many parameters to consider. To have even more precise control over the appearance of documents, it is now possible to link paragraphs together.
4D View Pro: Populate your sheets with a data context
4D View Pro offers you a new way to load your data and create your templates: the data context. It allows you to create your document with placeholders and fill them by setting this data context.
With just a few lines of code, you can display objects or collections without authorizing them first with VP SET CUSTOM FUNCTION! Let’s delve into the details.
A Seamless Way to Manage Parameters
In the declaration of a function or method, you explicitly define its parameters. Then, when calling that function or method, you can pass fewer parameters to it if some are optional. Or, if you used the declaration with ${n}, the number of passed parameters is variable. In this case, you use the Count Parameters command with a loop over the arguments. This code works flawlessly. Still, it’s a little bit heavy.
You asked us for a lighter way to handle parameters, and we listened. Starting with 4D v19 R5, we provide you with a new command, Copy parameters, allowing you to write a seamless, more elegant, and easier-to-read code.
Access your component classes from your host project
Components can now publish classes! And even better, if your application is still in binary mode, you can now benefit from classes and object-oriented development by using a component (in project mode) to create your own classes and use them from your (binary mode based) application.
4D v19 R5 Beta starts today
We’re thrilled to announce the launch of beta testing for 4D v19 R5. You told us where you are going next, and this release —like the one before and the ones to come — has the features to help you get there ?
- Besides introducing data contexts, 4D benefits from an upgraded SpreadJS version that brings many enhancements, such as the print interface. 4D View Pro is taking it to a whole new level.
- 4D Write Pro has its share of new features: table headers, linked paragraphs, data contexts, and many improvements to the interface widgets — offering you even more possibilities to produce documents that meet your requirements.
- We’re offering you better control over the ORDA contexts and cache for both Client/Server and REST to improve performance.
- We completely reorganized the diagnostic logs, giving you a better-filtered content (log levels such as trace, debug, info, warn, and error).
- And you can now get rid of unnecessary libraries (e.g., CEF/Web Area, PHP) to reduce the size of your applications.
- Much more awaits you!
4D v19 R4 is Here
We’re thrilled to announce that 4D v19 R4 is now available! A feature-rich release that goes all out ✨
Besides the monthly Hot Fixes, here’s an overview of what this feature release has in store for you:
Download 4D v19 R4 (monthly Hot Fixes available)
- Upon your request, we introduced support of high-resolution displays, such as 4K displays, in Windows, which results in sharper text, highly detailed photos, and ultimately a more defined user interface for business applications.
- Another highly requested feature is now available: the possibility to launch an external process asynchronously to enhance your users’ experience.
- As for the 4D language, we couldn’t be more excited to share the many improvements we made available to elevate your coding experience. From jump statements and short-circuit evaluation to ternary operators and compound assignment operators.
4D Write Pro is embracing the Dark (Mode)!
We are pleased to announce that this is the last step for dark mode on macOS. The last widgets of the library are compatible with dark mode:
- 4D Write Pro Interface toolbar
- 4D Write Pro Interface Sidebar
- Rich text area
So starting with 4D v19 R4, the choice is yours, as you can completely develop and deploy using light or dark mode on macOS.
Tag your comments, a feature by developers for developers
Comments are essential in a developer’s life. When we work on a new feature, we often add comments that are reminders. For example:
- to validate a part of code with a colleague,
- to refactor a function,
- to fix code that is slowing down the performance,
- to split a method or a class into sections,
- to prepare the skeleton of a class and add a todo comment inside each function.
Even if you write some straightforward code, try reading it months or years later. Will it still seem simple, or would you wish you’d added comments?
4D v19 R4 takes comments to a whole new level with comment tags that enables you to better organize your comments.
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