Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, January 20, 2017 11:52:33 AM(UTC)

ehk  
ehk

Groups: Registered
Posts: 12


I can't add personalized color to the Medical3DControl as follows :


Code:
		

Medical3DControl control3D = new Medical3DControl(); ;

//....related code of control3D....

control3D.ActiveBorderColor = Color.Green;    //this one shows no effect
control3D.NonActiveBorderColor = Color.Orange;     //this one shows also no effect

//....related code of control3D....

_medicalViewer.Cells.Add(control3D);



ActiveBorderColor can's be set to another color, other than default one. Any idea?

Edited by user Monday, January 23, 2017 3:20:41 AM(UTC)  | Reason: spelling

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Saturday, January 28, 2017 6:44:24 PM(UTC)

Walter  
Walter

Groups: Tech Support, Administrators
Posts: 311

Was thanked: 3 time(s) in 3 post(s)

Hello,

I can see the UI does not appear to change based on this.

Can you describe in greater detail what look you are trying to achieve with the MedicalViewer so I can better understand your goals? Could you give me a visual representation (mock-up) of what you would like? Is this simply something you tried, didn't see any difference, and wanted to know why?

Thanks
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#3 Posted : Friday, February 10, 2017 7:12:53 AM(UTC)

ehk  
ehk

Groups: Registered
Posts: 12


Hello,

We are trying to add a custom color to a cell of type "Medical3DControl".
As we tried, it was not possibble to add any color to related border of a cell of type "Medical3DControl".

My question is why is it possible to customize BoundaryBoxColor, but not possible to customize ActiveBorderColor ?

Code:

 //This property accepts 'Green' as custom color :
_medical3DControl.ObjectsContainer.Objects[0].BoundaryBoxColor = System.Drawing.Color.Green; 
 



Code:

 //This property cant accepts any custom color, so why?
_medical3DControl.ActiveBorderColor = System.Drawing.Color.Green;  

 
#4 Posted : Tuesday, February 21, 2017 10:00:42 AM(UTC)

Roberto  
Roberto

Groups: Registered, Tech Support, Administrators
Posts: 39

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)

Hello ehk,

The code you mentioned works just fine on my end using the latest LEADTOOLS 19 installation. What version are you working with?
If you need the latest you can download this from our site here: https://www.leadtools.com/downloads?category=main
You need to make sure the 3D control has one object in it. I modifyed our main 3D demo the same code and this is the result:

3d_demo

You also need to makes sure that your 3d control is actually selected:

Code:
control3D.Selected = true;
Roberto Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2017, Yet Another Forum.NET
This page was generated in 0.164 seconds.