ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Getting error from TIERichEdit when loaded as...

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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.

Nigel
Xequte Software
www.imageen.com