4D v16.3Changes in behavior |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
Changes in behavior
Changes in behavior
License management for 4D products has been improved in 4D v16: First activation simplified: Entering a new license number in the "LIcense Manager" dialog box now automatically activates, in a single operation, 4D Server and all of its related expansions (additional clients, plug-ins, etc.) New Refresh button: You can now activate your licenses by simply clicking on the Refresh button in the "License Manager" dialog box. This new button connects you to our custoner database and automatically activates all your new licenses or updates linked to the current license (the current license appears in bold in the Active Licenses list). You just need to enter your 4D identifiers (account and password). You can click on the Refresh button in the following contexts:
New auto-activation feature: This feature is triggered when you launch a more recent 4D product for which you have not yet entered your license, or when the license detected on the machine where the product was launched is not valid. The auto-activation procedure starts:
OBJECT SET FORMAT / OBJECT Get format: These commands now support icons in list box headers. METHOD GET CODE: This command returns code as indented text. DELETE FOLDER: This command can now delete a folder that is not empty The FONT LIST command under Windows only returns vectorial fonts. 64-bit versions only: The new features detailed in this section are only available in 4D v16 64-bit versions (4D Developer Edition and 4D Volume Desktop, see the Printing architecture (redesign) section). The printing architecture was entirely rewritten in 4D 64-bit versions to benefit from the most recent OS-based printing libraries and dialog boxes. Although this internal update is mostly transparent to 4D users, the following changes should be noted:
Note: The OPEN PRINTING JOB, CLOSE PRINTING JOB, SET PRINT OPTION and SET PRINT OPTION commands are compatibles wiht the 4D Write Pro WP PRINT command: for more information, see WP PRINT. All options are supported for 4D Write Pro documents, except for the Paper option and Orientation option options, for which we recommend using the WP USE PAGE SETUP command instead in order to set the page size and orientation separately. Row Control Array A new Row Control Array property gives you the ability to control new interface properties:
Headers and footers The minimum height for headers, in pixels, depends on the system. If you pass a value that is too small, it is replaced by the minimum size defined in the system for headers. There is no minimum size for rows and footers. Under Windows 7, the minimum header height is 24 pixels. Any headers in your converted databases whose height is less than this are automatically resized to 24 pixels. Since the rendering may not entirely match your expectations, this is a something you must remember to check on your forms. Converted list boxes List boxes resulting from the conversion of former grouped scrollable areas are connected. Connected list boxes function in a coordinated manner: selecting a row in one list box leads to the same row being selected in any other list boxes belonging to the same connected group; scrolling a list box vertically triggers the same scrolling in all the list boxes belonging to the same connected group. Note: Converted list boxes are also grouped in the form (standard 4D function). These commands are enabled when several list boxes are selected in a form. When a connected list box (i.e. a list box belonging to a connected group) is selected, a specific "badge" is displayed on all the list boxes that belong to this same connected group: These principles allow you to reproduce the same operation of the former grouped scrollable areas; however, we recommend that you adapt your converted forms to use standard list box features. The advanced options of the Form wizard have been updated based on the 4D product and hardware evolutions:
Thanks to a new internal algorithm, the execution of the [#cmd id="233"/] command has been significantly accelerated in 4D v15 R3 when you replace a string by another of a different length. This is the case for example in the following replacements: vResult:=Replace string(Source_Text;"a";"aa") //based on characters The new algorithm is optimized for both syntaxes: the larger the source text and the more replacements there are, the more significant the optimization will be. Our benchmarks show the following results, compared with the previous algorithm:
These tests were done by replacing "a" with "aa" in a file containing 32,000 occurrences to replace. Note: Replacement of strings of the same length is just as fast as with the previous algorithm. Additional information is provided when duplicates are detected in unique fields:
In previous 4D releases, the DOM Get XML element and DOM Count XML elements commands were case insensitive regarding the elementName parameter, that is not xml compliant. Starting with 4D v16.2, these commands are case sensitive by default. If you want to maintain their previous operation, call the [#cmd id="1090"/] command with the XML DOM case sensitivity selector to XML case insensitive. 4D always uses the period character (.) as decimal separator when evaluating a numerical expression using the 4DTEXT, 4DVAR, 4DHTML, 4DHTMLVAR and 4DEVAL tags. Regional settings are now ignored in this context. For example, whatever the regional settings are: value:=10/4 So if your code evaluates numerical expressions using 4D tags with respect to the regional settings, you need to adapt it using the String command:
For more information, refer to 4D HTML Tags. Disabling of the HTTP TRACE method, error 405. If you need to enable this method, you can use the Web HTTP TRACE option with the WEB SET OPTION command. The names of log files generated during maintenance operations through the MSC or the 4D Server administration window are now unique and therefore differ each time they are saved to disk. In previous versions, these files always used the same name so the previous log file (if any) was overwritten by the new one each time a new maintenance operation was performed, meaning that prior log files were automatically purged. It is now up to the database administrator to remove older log files as necessary, both for 4D and 4D Server. Modifications between versions v15.x/v15Rx and v16: concerning management of encoding and charsets, in particular for attachment filenames when sending emails. In databases where workarounds were implemented, you need to verify that these modifications do not cause any malfunctions. Two commands were updated: SMTP_Charset and SMTP_SetPrefs.
|
PROPERTIES
Product: 4D
HISTORY
ARTICLE USAGE
Conversion to 4D v16 ( 4D v16.2) Inherited from : Changes in behavior ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||