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
 ImageENview - Keep background color showing?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

cpstevenc

USA
113 Posts

Posted - Nov 28 2022 :  17:42:56  Show Profile  Reply
Using 11.2
Version 11.4.0


I have it set to be blacked out

But when I run , you can see a black border but rest is now white.



been fiddling with properties ...

object imgUserProfile: TImageEnView
  Left = 8
  Top = 8
  Width = 185
  Height = 149
  DesignTimeView = dvBlank
  Background = clBlack
  GradientEndColor = clBlack
  BackgroundColor2 = clBlack
  MouseWheelParams.Action = iemwNone
  ScrollBars = ssNone
  SelectionOptions = []
  BackgroundOuter = clBlack
  EnableAlphaChannel = False
  AutoStretch = True
  AutoShrink = True
  DragCursor = crHandPoint
  EnableInteractionHints = False
  PlayLoop = False
  AsyncLoading = True
  AutoCursors = False
  TabOrder = 0
end

xequte

38196 Posts

Posted - Nov 28 2022 :  19:19:50  Show Profile  Reply
Hi

By default, TImageEnView initialized with a blank image the size of the control, which is the white that you see. So if you reset the image, you can see the background:

ImageEnView1.Blank();

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