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
 Layer dragging

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
PeterPanino Posted - Feb 28 2024 : 15:16:35
I am trying to insert consecutive numbers to my screenshots:

procedure TformPreview.mInsertNumberClick(Sender: TObject);
begin
  // Append a Number text layer:
  ImageEnViewPreview.LayersAdd(ielkText);
  with TIETextLayer(ImageEnViewPreview.CurrentLayer) do
  begin
    Text := '1';
    BorderWidth := 0;
    FillColor := clRed;
    Font.Size := 16;
    Font.Color := clWhite;
    Alignment := iejCenter;
    Layout := ielCenter;
    BorderShape := iesEllipse;
    SoftShadow.Enabled := True;
    Width  := 50;
    Height := 50;
    AspectRatioLocked := True;
  end;
end;




However, these layers can be dragged only at their edges - which many users find difficult to handle!

How can these layers made to be dragged on the entire shape?
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 03 2024 : 16:00:44
Sorry, i should have mentioned that miSelect and mlMoveLayer can be used together, but in that configuration movement is possible only by clicking and dragging the edge of the current layer.

Nigel
Xequte Software
www.imageen.com
xequte Posted - Mar 02 2024 : 20:27:01
Hi Peter

Sorry, you also need to ensure that MouseInteractGeneral = []. Otherwise it will override mlMoveLayers.

Nigel
Xequte Software
www.imageen.com
PeterPanino Posted - Mar 01 2024 : 02:45:09
Hi Nigel

Yes, mlMoveLayers is included as well.
xequte Posted - Feb 29 2024 : 14:11:21
Hi Peter

Have you included mlMoveLayers?

Nigel
Xequte Software
www.imageen.com
PeterPanino Posted - Feb 29 2024 : 11:00:27
I have now discovered that when I include [mlEditLayerPoints], I can drag text and rectangle layers not only on their edge but also anywhere on the layer!

Is this a side effect?