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
 Text question

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
pierrotsc Posted - Apr 20 2016 : 12:10:50
Why when I change the color of the pen, it also changes the font color? same thing when I change the font color, it also changes the color of the box drawn around the text.
Pierre
4   L A T E S T    R E P L I E S    (Newest First)
pierrotsc Posted - Apr 20 2016 : 13:36:20
I think I did and the behavior was the same as my program.
Appreciate the feedback
Pierre
w2m Posted - Apr 20 2016 : 13:24:38
I don't think you can, but try the demo and see if you can set both.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
pierrotsc Posted - Apr 20 2016 : 13:09:43
indeed. So I guess that answers my question. You cannot have the font and the border with different colors.
So there is really no need to me to change the font color. I can only change the pen color. If the style is clear, it will also change the font color. Weird as you have instructions to set both independently.
w2m Posted - Apr 20 2016 : 12:58:09
Set the brush style to bsClear:
ObjBrushStyle[obj] := bsClear;

Now the border will be clear and the font color can be set to what you wish.
Look! at the Vectorial demo... it is all shown in the demo.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development