T O P I C R E V I E W |
pierrotsc |
Posted - Jan 17 2019 : 13:58:42 I encountered an issue so i tried to duplicate it with the layers demo. I added a button with this command if imageenview1.isempty then showmessage('empty');
when i start the program and click the button, i get the error. now if i add a shape layer, i still get the error. But my imageenview1 is not empty anymore ...
|
2 L A T E S T R E P L I E S (Newest First) |
pierrotsc |
Posted - Jan 17 2019 : 15:52:38 Got it..thank you.. |
xequte |
Posted - Jan 17 2019 : 15:14:09 Hi
Please see the documentation for IsEmpty. It is only checking whether the current image (of current layer) has a size > 2x2.
https://www.imageen.com/help/TImageEnView.IsEmpty.html
You should also check whether LayersCount > 1.
Nigel Xequte Software www.imageen.com |