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
 [IEvolution] How to Change ieMulti Color
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

JimmyF

Taiwan
3 Posts

Posted - May 21 2013 :  20:19:27  Show Profile  Reply
As Subject
when i select on image from ieMulti, the image will be surround in an Purple Box, if i want to change the box color from Purple to Red, How to do it ?

I use C# 2010.

any one can advance me, thanks!!

w2m

USA
1990 Posts

Posted - May 22 2013 :  06:28:26  Show Profile  Reply
TImageEnMView.SelectionColor

Declaration

property SelectionColor: TColor;

Description

SelectionColor is the color of the selection.

ImageEnMView1->SelectionColor := clRed;

William Miller
Go to Top of Page

w2m

USA
1990 Posts

Posted - May 22 2013 :  06:30:30  Show Profile  Reply
TImageEnMView.SelectionColor

Declaration

property SelectionColor: TColor;

Description

SelectionColor is the color of the selection.

ImageEnMView1->SelectionColor := clRed;

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

JimmyF

Taiwan
3 Posts

Posted - May 22 2013 :  23:22:15  Show Profile  Reply
Hi w2m

I have use C# 2010, In the ieMulti HiComponents.IEvolution.IEMUlti property
I can't find SelectionColor
it only have SelectionAntailiased and SelectionStyle.

so... any advance?

Go to Top of Page

w2m

USA
1990 Posts

Posted - May 23 2013 :  05:23:18  Show Profile  Reply
The correct method to change selection color in C# is SetSelectionColor. For example:
ieMulti1.SetSelectionColor(Color.Red);

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

JimmyF

Taiwan
3 Posts

Posted - May 23 2013 :  21:33:03  Show Profile  Reply
Thanks w2m,
It's ok.



Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: