Access Violation on Destroy
Page 1 of 1

Author:  rfjordao [ 08 Feb 2019, 16:47 ]
Post subject:  Access Violation on Destroy

   During the Destroy procedure of the DBCtrlsEh components (TDBEditEh, TDBDateTimeEditEh, TDBComboBoxEh, TDBNumberEditEh, TDBCheckBoxEh) , there was introduced this line of code:
   DataSource: = nil;
When this component has an OnChange event associated with it, this line of code calls the OnChange event causing an Access Violation error. As shown in the example attached.

Usage: EhLib 9.3.019 and Delphi 2010.


Attachments: [3.28 KiB]
Downloaded 70 times

Author:  EhLibSupport [ 09 Feb 2019, 09:25 ]
Post subject:  Re: Access Violation on Destroy


Fixed in the build - EhLib.VCL 9.3 Build 9.3.020.
Check, please.

Author:  rfjordao [ 11 Feb 2019, 11:58 ]
Post subject:  Re: Access Violation on Destroy


Problem Solved!


Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group