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
 Selection with background

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
graph_man Posted - Jun 01 2017 : 19:10:33
Hi,
Is ability to set background color to selection?
This feature should work at selection only (not IEView->Pro->Fill)
12   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 12 2017 : 17:51:29
> I need a selection area to be colored. But not canvas. Only selected area.
> If you deselect - the colored area should not remain.

The canvas in the OnDrawCanvas event is not the image canvas, but the control canvas, so it does not affect the image.


>> For movement of the mouse you will need to invalidate the control to trigger OnDrawCanvas.
>
> How to do that?

ImageEnView1.Invalidate();

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graph_man Posted - Jun 12 2017 : 03:58:05
I need a selection area to be colored.
But not canvas. Only selected area.
If you deselect - the colored area should not remain.

How to do that?


ps
> For movement of the mouse you will need to invalidate the control to trigger OnDrawCanvas.

How to do that?
xequte Posted - Jun 11 2017 : 19:35:16
Hi

The process should be quite straightforward. Which part are you having difficulty with?


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graph_man Posted - Jun 11 2017 : 15:25:10
Send me please an example code.
graph_man Posted - Jun 06 2017 : 18:01:04
> Please try it

What I need to try?
xequte Posted - Jun 06 2017 : 17:54:57
Hi

Please try using the instructions above and let us know if you have any difficulty.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graph_man Posted - Jun 05 2017 : 06:09:56
Send me please an example.
xequte Posted - Jun 04 2017 : 21:00:32
Resizing and clearing should automatically call the OnDrawCanvas event. For movement of the mouse you will need to invalidate the control to trigger OnDrawCanvas.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graph_man Posted - Jun 04 2017 : 08:05:29
How to be at moving, resizing and clearing?
xequte Posted - Jun 04 2017 : 02:10:02
Hi

In that case, just paint it onto the canvas in the OnDrawCanvas event:

https://www.imageen.com/help/TImageEnView.OnDrawCanvas.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graph_man Posted - Jun 02 2017 : 19:50:11
I need to get it automatically at selection, resizing and moving selection.
xequte Posted - Jun 02 2017 : 16:01:12
Hi

Not a built in method, but just get the selection(ImageEnView1.SelectedRect) and draw a rect directly to the canvas (ImageEnView1.IEBitmap.Canvas)

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com