What's New - v4.0¶
The changes in version 4.0 can be divided into:
Studio and OCX¶
- Charts
- Function Explorer
- Page Layers
- Images
- Collate
- Function Editor
- RTF Export
- Miscellaneous
- HDE 3891: Save As of a report should not use the report name as the default name for the new report
- HDE 3883: Default object width for numeric fields is too big
- HDE 3875: Opening the field explorer is very slow when a report contains many functions
- HDE 3862: A group header is printed twice on the same page
- HDE 3841: Incorrect command line parameters for a DPL (page-layer) file are now ignored
- HDE 3838: Function expert allows saving of functions with a syntax error
- HDE 3834: Printing a chart (to printer) uses incorrect font sizes
- HDE 3826: 'Incorrect syntax near ',' ODBC error when using a group based on a function
- HDE 3824: Deleting a function or a group used in a chart results in an inaccessible chart HDE 3814: The F2 key in the function explorer does not edit the function
- HDE 3798: Cut of sub-report caused a GPF and/or a number of array index out of bounds errors
- HDE 3783: 'Print next section on same page' option does not work
- HDE 3777: Incorrect page numbers when using the 'Hide blank section' option
- HDE 3768: Dragging a guide-line outside the design area could cause an 'array index out of bounds' error
- HDE 3768: Find field button in 'check database' generates an error 98 (invalid message)
- HDE 3760: Incorrect page number on first page when using a page layer
- HDE 3764: Order of tabs did not match the order displayed in the 'Window' menu
- HDE 3756: Toolbar buttons in field explorer are disabled if a database, parameter, function or special field are in use
- HDE 3755: Added 'show field types' for parameters, functions and special fields
- HDE 3749: Function buttons on 'Text' tab-page are always disabled
- HDE 3738: 'Size to font' option should be disabled for binary fields
- HDE 3746: Double click on a page-layer should not try to open a sub-report
- HDE 3745: Switching from French to English did not refresh all tooltips
- HDE 3733: Browse field data does not work from the field explorer if the field is used in the report
- HDE 3732: Performance problems caused by HDE 2932. This feature is now disabled by default and can be switched on via the field explorer context menu
- HDE 3731: The 'Common' field properties tab-page sometimes displays 'inch' and sometimes 'cm'
- HDE 3729: Function editor shows the previous function name when editing a built-in function
- HDE 3725: Added 'Image' tab-page for binary database fields
- HDE 3721: Image from ODBC database shows partial black border
- HDE 3705: A locked report could not be unlocked
- HDE 3697: Chart preview disappears after switching from design to preview tab
- HDE 3390: Closing the editor while no changes are made created an empty function
- HDE 3369: Global variables should be reset after an (automatic) refresh of the report
- HDE 3318: Size to Font should be disabled when the object is locked
- HDE 3287: The end-color of a gradient (in a box object) could not be set without closing the field properties dialog
- HDE 3139: Opening a sub-report via the report explorer shows incorrect tab-page and report explorer content
Integration¶
- All classes, constants and files in the DataFlex Reports integration have been renamed as part of the rebranding of the DataFlex Reports product.
- For existing pre-DataFlex Reports 4.0 applications create a backup of your existing project(s) and take the following steps to update to the 4.x library:
-
Remove the existing DataFlex Reports library and add the DataFlex Reports 4.x library to your workspace (this may require you to start the DataFlex Studio with administrator rights).
-
Click the replace in files button in the Studio (Ctrl+Shift+H)
-
Enter VRW in the 'Text to Find' input field
- Enter DR in the 'Text to Replace' input field
-
Click the 'Replace All' button
-
Open the '
.cfg' file -
Replace all VRW with DR for the icons and bitmaps
-
Search for the usage of 'psDatabaseCollate' and remove the code. The property does not exist anymore.
-
Windows projects
-
Replace all occurrences of "cCJSortColumnsGrid" with "cDRSortColumnsGrid"
-
Replace all occurrences of "cCJSortDirectionsGridColumn" with "cDRSortDirectionsGridColumn"
-
Web Application Framework projects
-
Replace all occurrences of "oPDFModalDialog" with "oDRPDFModalDialog"
-
Replace all occurrences of "Use PDFModalDialog.wo" with "Use DRPDFModalDialog.wo"
-
Optional:
-
Replace all ".vrw" to ".dr" in the program code
- Rename all reports with a VRW extension to DR