4D View Pro is a powerful tool in many fields. Its razor-sharp capabilities enable users to easily store, organize, and manipulate data. 4D v19 R5 brings a new ability to the product.
To make it easier for your customers to set up printing, the Ribbon has now a new addition; it supports print settings with a Page layout tab and a Page setup dialog. This dialog includes tabs for the Page, Margins, Header/Footer, and Sheet, allowing users to manage many options in the VP SET PRINT INFO command.
Here is everything you need to know.
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.
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 comes with a new version of SpreadJS, v15, and a Ribbon update that is compatible with it. Let’s discover the new features offered by this new version that will help accelerate your 4D View Pro development.
When you create a document with 4D View Pro, you often need to fine-tune your user experience by hiding the sheet tabs and the scrollbars, or by deactivating the context menu or the drag and drop option… All these features and more are now possible thanks to the VP SET WORKBOOK OPTIONS command from the v19 R4.
4D v19 R4 comes with a new version of SpreadJS, the v14.2, and a Ribbon update that is compatible with it. Let’s discover the new features offered by this new version.
Sometimes you have to run processes in the background, and as soon as one finishes, perform some actions according to its exit code. From the v19 R4, 4D allows you to start a process in the background with the new 4D.SystemWorker class and execute callback methods automatically when the process returns information. This way, your application UI stays responsive during the execution of the external process, and when finished, you can display the result to the user right away!
Do you dream of using short-circuit evaluation, ternary operators, breaking free from a loop, or exiting from a method with a simple keyword?
Well, dream no more! We listened and kept an eye on your feature requests from the 4D Forum, so here comes a set of 4D language improvements that will help you simplify your code.
Creating reports or spreadsheets from existing templates speeds up development. Starting with 4D v19 R4, copy and paste actions can now be performed using code that copies a range of cells from another location (including other areas).
When you create a new field in your database, 4D allows you to choose to map NULL value to blank values or not. Starting from 4D v19 R4, in new projects, 4D will no longer by default map the NULL value to an empty value.