EhLib.Com
http://forum.ehlib.com/en/

Access Violation on Destroy
http://forum.ehlib.com/en/viewtopic.php?f=5&t=964
Page 1 of 1

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

Hello
   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.

Thank's
Rafael

Attachments:
AccessViolationDestoryEhLib.zip [3.28 KiB]
Downloaded 22 times

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

Hello

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

Hello,

Problem Solved!

Thank´s

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/