Exchanging messages between processes
4D v15 R5 introduces a new, simple and powerful way to exchange information between processes and also between processes and forms. This feature is based upon an asynchronous messaging system that allows processes and forms to be called and asked to execute methods with parameters in their own context.
4D View Pro – Variable Row Height in Listbox
Displaying a list where the line height would exactly fit the content is a very common need. 4D View Pro is including a new feature so that you can now control the height of each row independently in a listbox to make it fit to its content. To know more about 4D View Pro, check out this blog post.
There are actually now two ways to define the row height in a listbox:
- using new dedicated commands
- using a new control array
Insert in-line pictures in 4D Write Pro documents
You want to insert your company logo in the signature of all your 4D Write Pro documents when they are being created? Or you want to add a product image for each of your invoices lines?
With 4D v16, it is now possible to insert inline pictures programmatically in your 4D Write Pro document with the dedicated command WP INSERT PICTURE!
Use Unicode for texts in forms
In 4D v16 the texts for all the form objects (static texts, buttons, check boxes, etc…) will be stored in Unicode, allowing you to use characters from different languages directly in the form editor.
Especially for Asian or Eastern European languages this will ease the development process.
New “On mouse up” event for picture object
In 4D v16, you now have a new “On Mouse Up” event for non-draggable picture object!
This feature will provide you with an easy and notice way to draw and/or move SVG objects easily, removing the need for tricks as “SET TIMER(1)” to detect that the mouse button has been released.
Search records with matching object attributes in selection
4D v16 is providing you with an enhanced integration of object fields in your database.
If you have already pre-selected sets of an object field, you can now query these sets using only one 4D command: easy and fast!
XML commands are now thread safe
Want to enhance your database scalability and use all the performance available with your multi-core machines?
With 4D v16, we have extended the list of thread-safe commands in order to use preemptive processes with your code handling XML.
Application sleep notification
With the new network layer, we can implement new functions that were impossible with the legacy network layer. The first is the application sleep notification.
Database mirroring
When integrating the log file, 4D stops at the first error and doesn’t return any error message. Reasons for integration errors could be a damaged log, by example because of a bad hard disk or software error during writing. If that error happens at the end, no problem; but it could also be at the start or in the middle of the log. In this case, the data after the error might be useful.
Now, when the integration fails in standard mode, you can try integration in auto-repair mode. In this case, 4D tries to resolve the error encountered, doesn’t stop the integration, and returns the error list.
JSON export for Journal
In 4D applications, the data file is important, so all the activity of the database is stored in the log file. As you all know, the log file is a vital element for the restoration of your database following an unfortunate contingency. However all the information on the database activity may also be useful for analysis. For example, to check the activity on a table, to see the changes made by a user, and to follow a record’s history.
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