ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Hide in-place editor on double-clicked text-layer?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

860 Posts

Posted - Sep 22 2020 :  13:43:17  Show Profile  Reply
I want to replace the text-layer in-place editing with my own text-editor.

For that I use:

procedure TForm1.ImageEnView1LayerNotifyEx(Sender: TObject; layer: Integer; event: TIELayerEvent);
begin
  if event = ielDblClicked  then  
    ShowMyOwnTextEditor;  
end;


Unfortunately, TImageEnView.OnLayerNotifyEx does not have a Handled var parameter, so I could tell the double-clicked text-layer to not show its in-place editor.

How could this be achieved?

PeterPanino

860 Posts

Posted - Sep 22 2020 :  14:24:35  Show Profile  Reply
Just found loDisableTextEditOnDblClick.

It does what it says.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: