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
 Deselect all layers

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
exchangeviews Posted - Jul 01 2013 : 08:34:39
How to deselect all layers because when i select any image from imageenMVieew to assign into imageenView, it loads the image into selected layers instead of imageenView background.

ImageEnView1.Assign(ImageEnMView1.Bitmap);

Please see image. Thanks in advance.



2   L A T E S T    R E P L I E S    (Newest First)
exchangeviews Posted - Jul 04 2013 : 22:25:24
It worked. Thanks again.
w2m Posted - Jul 01 2013 : 11:26:16
Set the ImageEnView1.LayersCurrent := 0 before assigning the image to load the image into the background layer or layer 0:
ImageEnView1.LayersCurrent := 0;
ImageEnView1.Assign(ImageEnMView1.Bitmap);
ImageEnView1.Update;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html