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
 grouping 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
pierrotsc Posted - May 15 2013 : 06:01:46
is there a way to group objects to be able to move and re-size them all at the same time?
P
3   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - May 16 2013 : 06:49:38
You can not group objects but you can select more than one object similar to SHIFT click:
Use AddSelObject to insert the hobj object into the selected objects list.
procedure TForm1.SelectObjects1Click(Sender: TObject);
{ Select objects 0 and 1 }
var
  i: integer;
begin
  for i := 0 to ImageEnVect1.ObjectsCount - 1 do
    if (ImageEnVect1.ObjID[i] = 0) or (ImageEnVect1.ObjID[i] = 1) then
    ImageEnVect1.AddSelObject(i);
end;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
pierrotsc Posted - May 16 2013 : 00:30:16
Yes, but i would like to do it with code. I am creating registration mark and I Would like in a click to drop a circle with a cross inside.
Then, i do not want the user to have to use shift to move or resize both objects.
i looked for a group command but could not find that.
Thanks.
PO
w2m Posted - May 15 2013 : 13:53:27
Press and hold the SHIFT key and select an object with the mouse. When both objects are selected you can move and resize the objects as one.

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