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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 BrushTool or FloodFill after creating a Shape Layer?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

933 Posts

Posted - Oct 18 2022 :  03:05:09  Show Profile  Reply
At run-time, when no image is loaded yet in an ImageEnView, Actions like BrushTool or FloodFill are disabled - although ImageEnView.LayersCount = 1. Only after loading an image, they become enabled.

On the other hand, when I create a Layer by ImageEnView.LayersNewLayerDialog(ielkShape); then Actions like BrushTool or FloodFill are still DISABLED.

So how can I use BrushTool or FloodFill after creating a Layer with ImageEnView.LayersNewLayerDialog(ielkShape);?

xequte

38608 Posts

Posted - Oct 18 2022 :  18:35:32  Show Profile  Reply
Hi Peter

Ensure that an image layer is the active layer, e.g. ImageEnView1.LayersCurrent := 0;

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

PeterPanino

933 Posts

Posted - Oct 22 2022 :  06:41:58  Show Profile  Reply
Hi Nigel

Thanks.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: