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
 TImageEnVect background

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
randal46 Posted - Sep 16 2011 : 01:35:35
Hi,
Shouldn't this make the background black rather than white?


unit Unit1;
interface
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics,
  Controls, Forms, Dialogs, ieview, imageenview, ievect;
type
  TForm1 = class(TForm)
    procedure FormCreate(Sender: TObject);
  private
    ImageEnVect1: TImageEnVect;
  public
    { Public declarations }
  end;
var
  Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
begin
  ImageEnVect1 := TImageEnVect.Create(Self);
  ImageEnVect1.Parent := Self;
  ImageEnVect1.Background := clBlack;
  ImageEnVect1.Height := 100;
  ImageEnVect1.Width := 20;
  ImageEnVect1.Left := 20;
  ImageEnVect1.Top := 130;
end;
end.
2   L A T E S T    R E P L I E S    (Newest First)
randal46 Posted - Sep 16 2011 : 04:21:45
Thanks.
fab Posted - Sep 16 2011 : 04:07:14
Hi,
please create a bitmap with:


ImageEnVect1.IEBitmap.Allocate(20, 100);
ImageEnVect1.Proc.Fill(clBlack);

Or initialize a blank bitmap (so to show only the background) with:

ImageEnVect1.Blank();