April 2017

Product New tabs with macOS Sierra

Merge your windows into tabs on macOS Sierra

Thanks to macOS Sierra, applications now have to opportunity to use tabbed windows instead of multiple windows. From 4D v16 R3, 4D Developer Edition 64-bit can take advantage of this Apple’s new feature for the design environment.

The type of windows that can be tabbed are Methods and Form Editors windows. Other windows as explorer or tools for instance remain separate.

As in every application based on tab windows:

  • each tab can be moved to a new window by dragging the tab out of the tab bar.
  • each tab can be moved to another existing window.

Export results of “Find in design” dialog

When you search for all objects in the Design Environment, 4D displays the results in the hierarchical list. From 4D v16 R3, you can export these results in a text file that can be opened using a spreadsheet for example, so that you can easily dispatch some refactoring work or store the results in a document to work on it later.


OB New: an easy way to initialize an object

Discover OB New, the new command of 4D to initialize an object. This command allows you to either create an empty object or create it with some initial properties and values. OB SET is now becoming unnecessary in several situations, OB New is enough.

OB New also allows to re-initialize an temporary object in a loop or simply directly pass an object as a parameter to a 4D command requesting an object as parameter, as Get database measures or GRAPH commands for instance.

This new command changes your way to write 4D code in many situations. OB New creates an object and returns a reference to it. It allows more flexibility in your code. This command is the first of a series of new features related to  objects … Stay tuned !

Product 4D Write Pro Standard action

Create your own interface for 4D Write Pro

You want to quickly create a menu bar to manage your 4D Write Pro areas? You want to create your own contextual menu for your end-users ? You would like to create a color mosaic to change the document background? So this feature is made for you – and better, you do not even need to write a single line of code…

We added standard actions to handle 4D Write Pro areas. They can be defined at design phase or by programming. More than 80+ actions are available and to name just some of them: Font style (bold, italic, underline), Font color, Background color, Text alignment (left, center, right, justify…), Borders (style, color, width, radius…), Spellchecker actions…

Something important to notice, when assigned to interface objects, standard actions automatically handle the activation/disabling of the object depending on the context. Easy!

Tips Standard action for 4D Styled text

Discover all options to use Standard Actions

Some developers believe that automatic actions are for beginners. However they might have missed a lot of potential we added in the last years. Standard actions, such as First Record or color?value=red, can be assigned to a button in the user interface or by programming. The action can be assigned to a menu item, context menu, or invoked with a command. A benefit is that 4D also automatically handles the menu item or button deactivation whenever the action is not applicable (for instance, as if there is no next record).

And from 4D v16 R3, the list of standard actions is growing: over 100 new standard actions have been added for 4D Write Pro and Styled Text, allowing to build for instance a toolbar without writing a line of code!


Altura-free 4D Server Windows 64 bits coming soon

4D is moving forward to provide you with a full Altura-free Windows product line. This will allow us to internally use some modern technologies and make you benefit from it, such as support of Single Document Interface (SDI) windows for instance.

End of last year, we did a first announcement to share with you how we will proceed with the removal of Altura. With 4D v16 R2, we have delivered the Altura-free final version of 4D Developer Edition and 4D Volume Desktop Windows 64-bit. The last step is 4D Server, and this will happen in a near future. We are actually going to remove Altura library from 4D Server Windows 64 bits in a coming 4D v16 R-release.


4D v16 R3 beta test starts today!

I am pleased to announce that the beta testing of 4D v16 R3 starts today! So what are the new features available in 4D v16 R3 beta?

New perspectives using standard actions

4D v16 R3 is bringing wider possibilities using the standard actions mechanism. As a reminder, standard actions – such as First Record (existing) or color?value=red (new) – can be assigned to a button or a menu item in the user interface or by programming. A benefit is that 4D also automatically handles the menu item deactivation whenever the action is not applicable.

New commands to handle actions

Using INVOKE ACTION, you can trigger any standard action, optionally in the target context. To know if the standard action is applicable and valid in the current context, you can use the Get action info new command.