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
 How to change Stacking order of Objects

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
yogiyang Posted - Apr 28 2016 : 07:44:16
Hello,

I am using ImageEnVect and am allowing user to add rectangle object using this code:
ievMain.ObjKind[IEV_NEXT_INSERTED_OBJECT] := iekBOX;
  ObjID := ievMain.AddNewObject;
  ievMain.ObjLeft[ObjID] := 0;
  ievMain.ObjTop[ObjID] := 0;
  ievMain.ObjWidth[ObjID] := 50;
  ievMain.ObjHeight[ObjID] := 50;
  ievMain.SelObjects[ObjID];

Things are working as expected.

But the problem is I am not able to move selected Obj behind or above other objects. How to achieve this?

TIA


Yogi Yang
2   L A T E S T    R E P L I E S    (Newest First)
yogiyang Posted - Apr 28 2016 : 10:01:24
Bill,

Thanks. You saved me from pulling my hair off!!!

Regards,


Yogi Yang
w2m Posted - Apr 28 2016 : 07:54:07
ImageEnVect1.SetObjFrontOf( obj1, obj2 ); // obj1 is over obj2
ImageEnVect1.SetObjBackTo( obj1, obj2 ); // now obj2 is over obj1

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development