Skip to content

What's New - v6.1

The changes in version 6.1 can be divided into:

Studio and OCX

Integration

  • Change in the OnComFunctionError event; more arguments added to be able to locate the faulty function in the DataFlex Reports Studio. When this event fires, its values are stored in a property. The property is queried after DisplayReport, ExportReport, HTMLPreviewData, PrintReport, and RefreshReport.
    In a Windows GUI application, the function error detection pops up a modal dialog displaying the information.
    In a DataFlex 18.1 and higher Web application, a modal panel is opened if the application runs on the desktop. If the web application runs on a mobile device or when DataFlex 18.0 and older are used, the information is shown via the DataFlex error handler. The reason for the difference between desktop and mobile devices is that you cannot copy the search string from an error dialog, but since fixing the report in DataFlex Reports Studio is always done on a desktop computer, it is not a problem that a copy (even the display of the ID) is not possible.
    For displaying the information in a Windows GUI application, the file FunctionError.dg is included and used, and in a Web Application, the file FunctionErrorDialog.wo is included when compiled on DataFlex 18.1 and higher.
  • The cDRReport object no longer sends an activate message to itself when the Skin Framework is used. This was necessary in the past to be able to disable the skinning of the output window. This is no longer a problem.
  • The C_$DR_INTEGRATION_VERSION constant has been updated to 6.1.1.0.
  • The printing routines PrintReport and PrintToDefaultPrinter are again available for Web Application integration.
  • New Windows UI component: FunctionError.dg for displaying information about an error in a function in a Windows GUI application.
  • New Web component: FunctionErrorDialog.wo for displaying information about an error in a function in a DataFlex 18.1 and higher Web Application.