Author: Vanessa Talbot

Vanessa Talbot
• Product Owner •Vanessa Talbot joined 4D Program team in June, 2014. As a Product Owner, she is in charge of writing the user stories then translating it to functional specifications. Her role is also to make sure that the feature implementation delivered is meeting the customer need.Since her arrival, she has worked to define key features in 4D. She has worked on most of preemptive multi-threading new features and also on a very complex subject: the new architecture for engined application. Vanessa has a degree from Telecom Saint-Etienne. She began her career at the Criminal Research Institute as a developer for the audiovisual department. She has also worked in media and medical fields as expert in technical support, production as well as documenting new features.
Tips blank

How to browse GitHub to find all 4D projects

With the introduction of projects in 4D, the source code of components, demo applications, and other tools in 4D are hosted on GitHub.

4D has three GitHub organizations.

 

You can find these links to the various GitHub repositories from the 4D websites; for example, from the 4D blog to illustrate new features, from the Resources page of the 4D website for demo examples, or from the gallery for Mobile.

But, you can also from GitHub, search, bookmark, and so on… This blog post will introduce some basic features to improve your usage and navigation on GitHub.

Product blank

What’s new in the 4D Write Pro Interface widget?

4D Write Pro offers many possibilities for both developers and end-users. A wide range of commands and standard actions are available for developers to create advanced and beautifully designed documents, while end-users are offered two feature-rich interface widgets.

Guess what 4D v19 R5 is bringing? Yes, we’ve added a set of features to the interface widget, such as management of line height!

Here are the new features in 4D v19 R5:

Product blank

4D for Mobile: Interact with other apps

Several formatters have been made available for formatting your data in the list or detail form. For example, a boolean field can be represented as a red or green circle. If you think this is very convenient, then you will love the new features in 4D v19 R5.

Let’s imagine an application with a list of our customers, if we need to go to their offices, it would be really handy to be able to tap on the customer’s address to open Google Maps. Unfortunately on the way, you are stuck in traffic. Don’t panic, just tap on the phone number, and you can choose to send a message or call directly to let them know. 🙂 

Several other formatters are at your disposal, we let you discover them.

Product blank

New Windows system rendering engine for Web Areas

Web areas can display various types of web content within your forms: HTML pages with static or dynamic contents, files, pictures,… You can choose between two rendering engines for the web area, depending on the specifics of your application:

  • the embedded rendering engine
  • the system rendering engine

 

The advantage of the embedded system is the cross-platform portability. No need to adapt to some specifics of a platform. Moreover, it allows you to access 4D methods. 

The advantage of the system browser is the security updates that are available right away. There’s no need to wait for the next version of 4D. We recommend it for accessing the public Internet site. 

Windows has announced that “Internet Explorer 11 is retiring on June 15, 2022“. So since 4D v19 R5, if you use the system rendering engine, 4D uses Microsoft Edge WebView2. This change allows you to benefit from a modern browser with the latest features and security updates. For example, Microsoft Edge can be used to display PDFs.

Product blank

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. 

Product blank

4D for Mobile: What’s new in v19 R5

With every release, the list of 4D for iOS and 4D for Android features is growing bigger. And this feature release is no exception. Without further ado, let’s see what 4D v19 R5 has in store for you:

WHAT’S IN IT?

For 4D for Android and 4D for iOS Editor

  • Goods news! The interface of the editor is fully compatible in dark and light modes.

 

For 4D for Android (already available in 4D for iOS):

  • Turn your application into a barcode scanner to fill in a text input,
  • Allow to sign directly in the application delivery, an intervention report, an estimate,
  • Interact with different applications by touching a field on the screen:
    • an address to automatically display a map showing the location,
    • a phone number to call or add to contacts,
    • a mail to open the mail app,
    • a URL to open an URL in the default web browser.
  • Create your own Kotlin formatters for your specific needs.
Product blank

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.

Product blank

More options for object set enterable command

There is a multitude of interfaces and rules to be respected. Often, these constraints are linked to the domains of activity. Obviously, some data can be entered or not by the user. For a field that is not enterable, there are two ways of managing the interface:

  • users can still select and copy its content, for example to add it to a report
  • users are not allowed to copy the field or select its content
Product blank

New possibilities to customize the code editor

When it comes to customizing the code editor, everyone thinks of the font and colors of the code. But it is also possible to customize the code editor window and some interactions with the code. Everyone has their own preferences and ways of working.

Moreover, the most essential part of a code editor is the writing code area. With 4D v19 R4, we have redesigned the editor to highlight your code and give it as much space as possible.

This is precisely why 4D v19 R4 enables you to show or hide the ten clipboards. If you don’t use all ten clipboards, you can lighten the toolbar with the “Show clipboard” preference.

Product blank

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.