Dates inside objects!
Objects are great! Their flexibility, combined with speed and elegance, make them a first choice for most developers. Using dates inside objects is now easier and more intuitive. From now on, dates can be set as dates – and not strings inside objects!
Sharing information in multi-threading environment
4D v16 R6 introduces a new concept of communication between processes: shared object and shared collection variables! They are a solution so you can avoid using interprocess variables (which can’t be used in multi-thread mode). Thanks to this, you will be able to easily share information between preemptive processes.
4D Write Pro: use leading characters for tabs
No matter what line of work you are in, you may want to know how to use tabs (left, right, center, decimal tab). They are quite useful as, for example, they allow you to structure documents by separating and indenting your information.
In typography and design, details matter. But getting details just right can be quite time-consuming. 4D Write Pro now provides an additional functionality to fine tune your design in an instant: leading characters. You know the repeated dots or other characters in a table of contents … the ones that go from the end of the text in your first column to the beginning of the text in the second column? That’s them!
Four different ways to use objects with 4D Write Pro!
Quite frankly, we love objects. 4D Write Pro uses objects as the input/output of commands and functions to manipulate documents, text, paragraphs, etc. In this blog post, we’ll show you four different ways to use objects with 4D Write Pro.
Create a 4D Write Pro brochure in 5 minutes!
Check out our video showing how easy it is to create an elegant brochure with 4D Write Pro, including the painter’s bio (his life, references and so on), as well as a collection of his paintings accompanied by descriptions. Finally, you’ll learn how to easily add a different front and back cover to complete the brochure.
Of course, creating other kinds of brochures, i.e. for real estate agencies, pharmaceutical laboratories, travel agencies, etc… is just as simple. So take a look and start coding now!
4D Write Pro now supports picture expressions
This blog post explores a 4D Write Pro-related functionality which will help you with the creation of complex documents, programmatically. Documents that can be either printed or sent by email.
An expression can now be a Picture! Handling pictures in your 4D Write Pro documents is becoming easier, offering vast possibilities. From now on, any expression returning a picture can be inserted. The most obvious cases are fields and variables, but it goes also for 4D functions and, last but not least, your own methods!
Help tips on list boxes!
Help tips or hints are very useful, as they simplify the user interface and help users understand objects that sometimes aren’t self-evident. 4D supports help tips in most areas and inputs when hovering the pointer over them, but that was not the case with a list box object.
With 4D v16 R5 we have added the possibility to display a help tip on a list box cell thanks to the enrichment of two commands.
More commands to run in preemptive processes
A preemptive process is powerful as it allows your application to take full advantage of multi-core computers; consequently, its results in a faster global execution time and more connected users. A 4D process may be preemptive or not according to compilation options and the use of the language, as explained in this post.
In order to benefit from this mode as much as possible we are pleased to announce that more than twenty existing commands have been enhanced and can now be used inside preemptive processes.
Programmatically manage headers and footers in 4D Write Pro
We’ve received several customer requests to provide the ability to use the 4D Write Pro template with headers and footers to create other documents based on this template. Well, we heard you and this is available in 4D v16 R5.
A new set of commands have been added to 4D Write Pro to fulfill this need. Some of these commands can be used to get references of headers, body and footers inside documents. Others are handy to get a reference to the frame (header, footer, etc.) where the cursor is currently located, or to set the cursor into a specific frame.
Automatic row height in list boxes, a new 4D View Pro feature!
Starting with 4D v16, you can set a different row height for each row in your list box. So with a few lines of code, you have a list box with rows that conform to the content. With this 4D v16 feature, we gave full control to the developer to precisely define the height for every single row of the list box.
With 4D v16 R5, we’ve decided to go further, and provide you with a fully automatic mode. It’s now possible to display lists in a gorgeous interface without any programming. You only need to set a few properties in the list box, and 4D does the rest for you. It’s magical, fluid, and again … not a single line of code!
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