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
 Filling an area with transparency?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

860 Posts

Posted - Mar 30 2021 :  08:01:07  Show Profile  Reply
A user wants to fill an area with TRANSPARENCY by using the Fill Tool on the Toolbar:



However, the Color Picker supports only SOLID COLORS:



How can I fill an area with Transparency using the Fill Tool?

PeterPanino

860 Posts

Posted - Mar 30 2021 :  08:19:45  Show Profile  Reply
When I set the OPACITY in the Brush Properties dialog to ZERO by dragging the TRANSPARENCY trackbar to the very left, then this does not work on the FILL TOOL:



But from the user's view, that would be the LOGICAL way to fill an area with Transparency using the Fill Tool.
Go to Top of Page

xequte

38182 Posts

Posted - Mar 30 2021 :  23:50:35  Show Profile  Reply
Hi Peter

Unfortunately the color selector is a standard Windows dialog, so we can't customize it to add a transparency option. However in the next release you can hold the Alt key to fill with transparency.

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

PeterPanino

860 Posts

Posted - Mar 31 2021 :  05:22:55  Show Profile  Reply
Hi Nigel, this is very good news. Thank you!

It would be nice if there was an OnPromptForColor event where we could decide whether the standard color-picker dialog is invoked or a custom color-picker dialog. That would be very useful!
Go to Top of Page

xequte

38182 Posts

Posted - Mar 31 2021 :  21:44:28  Show Profile  Reply
Hi Peter

You can use the updates mentioned in my other post to replace the prompt for color code with your own:

https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=4868


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: