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
 BrushTool or FloodFill after creating a Shape Layer?

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
PeterPanino Posted - Oct 18 2022 : 03:05:09
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);?
2   L A T E S T    R E P L I E S    (Newest First)
PeterPanino Posted - Oct 22 2022 : 06:41:58
Hi Nigel

Thanks.
xequte Posted - Oct 18 2022 : 18:35:32
Hi Peter

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

Nigel
Xequte Software
www.imageen.com