News

4D v17 is here

Automatically translated from English

We couldn’t be more thrilled to announce that the wait is over and 4D v17 is now available!

This groundbreaking release can open lots of options for your next 4D-based application. Though by no means exhaustive, here is a list of features to whet your appetite for this release:

Tips

Create a 4D View Pro document offscreen

Automatically translated from English

Do you need to create a 4D View Pro document using code, without any user interface? It’s possible! Because 4D View Pro documents are objects, it’s very easy to create off-screen documents. You can create a new document in a variable of object type and manipulate it through its properties. When your document is ready, you can register it in your database, in a file, or display it directly in a 4D View Pro area.

Events

Take your imagination to the limit with 4D v17 and 4D Write Pro – Caroline from the 4D Summit 2018

Automatically translated from English

As 4D v17 approaches, it’s worth taking a moment to pause and think of all the possibilities 4D Write Pro has to offer. For those who have extensive 4D Write programming skills and are wondering if 4D Write Pro can compare, this blog post will answer this question and more! We’ll even give you a database example of a complex travel brochure to show you what 4D Write Pro is capable of and how it’s surpassed 4D Write in many areas! And if you’re still hesitant about whether or not to take the plunge, watch this 4D Write Pro video from the 4D Summit 2018 featuring Caroline Briaud, where she presents the capabilities of 4D Write Pro and how far you can go to create complex documents.

Product

Times inside objects… (and everywhere else)

Automatically translated from English

Objects are at it again, continuing to demonstrate their utility to ease your life as a developer.

Using time (or duration) values inside of objects is now smoother and more intuitive. Beginning with 4D v17, times inside objects are set as seconds  – and not milliseconds!

News

4D v17 Release Candidate

Automatically translated from English

We are pleased to announce the release candidate for 4D v17.

If you haven’t already downloaded it, it’s not too late! Now’s the time to run your applications on 4D v17, and take advantage of the many features this release has to offer.

Tips New collection

How to display a multilevel collection in different list boxes!

Automatically translated from English

Starting with 4D v17, the content of a multilevel collection can easily be displayed in different list boxes. Meaning that you can bind several list boxes to display nested details … without a single line of code! This can be achieved by simply using an object or a collection as the data source for another list box!

With the new list box collection type, the “Current item” and “Selected items” properties have been added. Keep in mind that the “Current item” property allows you to get an object, while the “Selected item” property returns a collection.

Tips

How to create a generic form with dynamic forms

Automatically translated from English

Imagine that your database contains several tables of types or categories. These tables are very simple, often with only an identifier and a text field. For demonstration purposes, let’s say it’s a shoe management database. To qualify the products, we need to define their type, color, pattern, material, season and so on.

It’s cumbersome to manage each of these tables in a list form and an input form and associated methods. In this case, the use of a generic form is essential to avoid duplication and simplify maintenance.

And that’s where dynamic forms and JSON pointers are come in handy!

Product

Display an entity selection in a list box

Automatically translated from English

4D v17 introduces a new concept: ORDA. If you’re not familiar with ORDA yet, we’ve created a series of blog posts to explain how to use and take advantage of ORDA. When working with ORDA, you’re going to use entity selections, which are basically objects containing references to entities belonging to the same dataclass (i.e. table). One of the main benefits of ORDA, is the very simple and powerful ability of binding with forms.

In this blog post, you’ll learn how to display an entity selection in a list box. In fact, it’s very simple.