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.
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.
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!
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.
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.
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!
From 4D v15 R5, you can add an icon in the listbox header by programming. The image can come from a file, a picture variable or the picture library. This icon can be placed on the left or on the right side of the column.
A powerful new syntax is available for 4D tags inside texts and Blobs to be processed.
This new syntax is supported in two cases:
- files with “.shtml” extensions served by 4D Web Server
- Text and Blobs sent as parameters to the PROCESS 4D TAGS command
The new syntax is available for three tags, 4DEVAL, 4DTEXT and 4DHTML, which can now be written prefixed with a $ (dollar sign) rather than as HTML comments.
With 4D v15 R4, a new parameter is introduced for the DISTINCT VALUE command. This parameter must be an array, and it receives the count of each distinct value in a selection of records.
This feature is particularly useful for obtaining statistics on records, or to order records by their most common type.
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.
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