Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic FrameColor ControlHost (Read 1927 times)
ampersand
Junior Member
**
Offline



Posts: 55
Joined: Sep 21st, 2006
FrameColor ControlHost
Oct 27th, 2006 at 6:03am
Print Post  
I use ControlHosts with embedded RichTextBoxes in my app. My problem is I am not able to set a colored border around ControlHost. I tried FrameColor and also Pen.Color but with no success.

The BorderStyle of the RichTextBox is set to None, as RichTextBox is only able to show a 3D Border and not a simple single line.

Is there a way to let the ControlHost show the FrameColor?

Thanks
Dirk
  
Back to top
 
IP Logged
 
ampersand
Junior Member
**
Offline



Posts: 55
Joined: Sep 21st, 2006
Re: FrameColor ControlHost
Reply #1 - Oct 28th, 2006 at 7:29am
Print Post  
can somebody help?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FrameColor ControlHost
Reply #2 - Oct 30th, 2006 at 6:18am
Print Post  
FlowChart.NET expects hosted controls to do all the required drawing, so it doesn't draw frames around them. Try to custom-draw the frame in the implementation of your RichText - derived class, or create a composite control that contains the RichText control and use the container's frame.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint