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
 Transparent TImageEnMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

w2m

USA
1990 Posts

Posted - Jun 26 2014 :  07:01:43  Show Profile  Reply
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

xequte

39061 Posts

Posted - Jun 26 2014 :  16:52:18  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: