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
 Transparent TImageEnMView

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
w2m Posted - Jun 26 2014 : 07:01:43
Is there anyway to make TImageEnMView transparent by using code?
I am making a project for a client and all of the controls except for TImageEnMView are transparent, so I need to try to make the component transparent or possibly switch components.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 26 2014 : 16:52:18
Assuming you are referring only to background transparency and not alpha blending then you should be able to make it transparent in the same way as a TPanel, but undoubtedly there will be a lot of gotchas...

Take a look at:
http://delphidabbler.com/tips/210
http://stackoverflow.com/questions/13210310/tpanel-transparent

So you may be better off finding a grid component that handles transparency automatically, though I do not know of one. If your needs are modest (display of thumbs only without interaction) then you could just build it in memory and output to a TPaintBox/TImage


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com