Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Overview Control Problem. (Read 2530 times)
parkwonwoo
Junior Member
**
Offline


Open the Podbay Doors
HAL!

Posts: 61
Joined: Dec 8th, 2006
Overview Control Problem.
Dec 14th, 2006 at 9:44am
Print Post  
- My Troubled code:

Code
Select All
	  private void Form2_Load(object sender, EventArgs e)
	  {
		axOverview1.Document = f1.FC1.DefaultShape;
	  }
 



- In Delphi , '=FC1.defaultInterface' property is good work.
- In C#, What property is suitable ?

Thanks in advance.
  

OS: WinXP sp2&&RAD: Borland Delphi7, C++Builder6, JBuilder9&&FrameWork: VCL+Win32 or J2SE&&FCX: FCX 4.1.x
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview Control Problem.
Reply #1 - Dec 14th, 2006 at 12:07pm
Print Post  
How about

axOverview1.Document = f1.FC1;

?
  
Back to top
 
IP Logged
 
parkwonwoo
Junior Member
**
Offline


Open the Podbay Doors
HAL!

Posts: 61
Joined: Dec 8th, 2006
Re: Overview Control Problem.
Reply #2 - Dec 14th, 2006 at 11:28pm
Print Post  
Code
Select All
axOverview1.Document = f1.FC1;
 



- In Above Code, Type Casting Error was broken.
- Eorror Message:
'AxFLOWCHARTLib.AxFlowChart' type to 'FLOWCHARTLib.FlowChart' type is not Converted.
Confirme that there is a cast.
  

OS: WinXP sp2&&RAD: Borland Delphi7, C++Builder6, JBuilder9&&FrameWork: VCL+Win32 or J2SE&&FCX: FCX 4.1.x
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview Control Problem.
Reply #3 - Dec 15th, 2006 at 6:22am
Print Post  
Ok, this works fine

Code
Select All
private void Form1_Load(object sender, System.EventArgs e)
{
   fc.Graphics.StartUp(FLOWCHARTLib.EGraphicsEngine.geGdiPlus);
   ovw.Document = fc.GetOcx() as FLOWCHARTLib.FlowChart;
}
 



Stoyan
  
Back to top
 
IP Logged
 
parkwonwoo
Junior Member
**
Offline


Open the Podbay Doors
HAL!

Posts: 61
Joined: Dec 8th, 2006
Re: Overview Control Problem.
Reply #4 - Dec 18th, 2006 at 11:19pm
Print Post  
Thanks a lot.

But I'll trash dump the C#.

  

OS: WinXP sp2&&RAD: Borland Delphi7, C++Builder6, JBuilder9&&FrameWork: VCL+Win32 or J2SE&&FCX: FCX 4.1.x
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint