Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
yogiyang
Posted - Nov 25 2019 : 07:22:14 Hello,
If we place the RichEdit control in a Form which is shown as a Dialog then at the time of unloading the dialog I am getting this error:
--------------------------- Debugger Exception Notification --------------------------- Project XXXXXXX.exe raised exception class EConvertError with message 'Cannot assign a nil to a TMargins'. --------------------------- Break Continue Help ---------------------------
First of all Why this error?
What to do?
I opened the supplied RichEdit demo and then just add a form to project and set this to be Main form.
On this form I placed a button and on the click event I called the form as a dialog.
Now when we close this form with RichEdit control I am getting above message.
I am using Delphi 10 Seattle.
TIA
Yogi Yang
1 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Nov 26 2019 : 16:51:18 Hi Yogi
I cannot reproduce this adding a form to the RichEdit demo. Can you email me your demo source.