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
4D Write Pro commands in preemptive processes
With 4D v16, you can improve your database scalability using the new 4D Write Pro commands in preemptive processes.
If you are doing routines for creating or converting documents programmatically – e.g. invoices … you can now do it with preemptive workers as most 4D Write Pro commands are now thread safe!
Listbox – columns AUTO resizing !
4D v16 includes a new feature providing your end-user great freedom and flexibility at the interface level when using list boxes. The constraints defined for each column are now fully applied and respected when the list box they belong to is resized.
New commands to save and restore print settings
This feature allows users to save and restore print settings (even those that cannot be set using 4D Get print option and SET PRINT OPTION commands) quickly and efficiently, whether on Windows or Mac OS in both 32 and 64 bits environments.
Office printers supports a large set of features, duplex, staple, punch, watermark, ink saving, color calibration, just a name some. The new commands BLOB to print settings and Print settings to BLOB supports to save and restore the whole set of information available via printer dialogs, allowing fully automatic (and faceless) print jobs.
Execute action upon listbox column resizing
The event On Column Resize is now triggered “live” during the resizing of the list boxes as long as the user modifies the column widths (previously, it was generated only once, at the end of the resizing).
Thanks to this feature, 4D programmers will have the opportunity to create live and responsive interfaces based on the actual width of columns!
Headers and footers in 4D Write Pro
4D Write Pro is moving forward with 4D v16!
You can now insert headers and footers in your 4D Write Pro documents but also retrieve any existing headers and footers when opening an existing .4w7 document from the 4D Write plugin.
You can define document sections and add headers or footers for all or independently per section. You can have different headers/footers for the right and left page, or for the first page of the section. Of course, headers and footers can be styled as the rest of the document (font, color, margin, padding, borders…) and can contain images as well.
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!
Go further with Object fields
Object fields introduced with v15 allows unstructured data bases, similar to schemaless database (NoSQL). 4D v16 goes a big step further. Get a dynamic structure for unstructured data… Confused?
Imagine you use an object field to allow your customers to store custom data, where they can create their own fields. This works well and is one of the most interesting reasons for using an object field. The problem is, how to allow your customer to query this unstructured data? You don’t know which ‘fields’ they used, you cannot build a query editor on top or offer a drop down with used values.
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.
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