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
MarkusK
Posted - Apr 09 2024 : 05:27:42 I have a TImageEnMView and a TImageEnView attached to it via the AttachedImageEnView property. Both are empty.
I want to provide the capability to paste an image from clipboard, so I call ImageEnMView1.Proc.CanPasteFromClipboard to check if there's any image content on the clipboard. In previous versions, this worked fine. Since installing version 13.1.0, I get an EIEException "IEBitmap invalid"
Yes, I've noticed that ImageCount > 0 would remove the exception. However, this means I could only add an image from clipboard if there's already at least one image in the list. I suppose your fix will take that into account too?
xequte
Posted - Apr 09 2024 : 23:15:54 Hi
I'm afraid there is an issue in 13.1.0, you can email me for a fix.
Alternatively, you can check the control is not empty before accesing Proc, e.g.