Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Declaring the Object Variable of FCX outside (Read 2166 times)
parkwonwoo
Junior Member
**
Offline


Open the Podbay Doors
HAL!

Posts: 61
Joined: Dec 8th, 2006
Declaring the Object Variable of FCX outside
Feb 13th, 2007 at 6:02am
Print Post  
Hi.
Code
Select All
// FCX exist in Form1 ------------------------------------------
procedure Form1.aaa(NodeID: integer);
var
  FB, BB: IBoxItem;
begin
...
 



This Code works good.
But Below code does not.

Code
Select All
// FCX not exist in Form2 ------------------------------------------
procedure Form2.bbb(NodeID: integer);
var
  FB, BB: IBoxItem;
begin
...
 



ei. Can I declare the Object Variable of FCX outside the Form1(Only Form1 Have the FCX Control).

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: Declaring the Object Variable of FCX outside
Reply #1 - Feb 13th, 2007 at 6:09am
Print Post  
Hi,

Perhaps you should add the unit imported from the FlowChartX type library to the "uses" clause in your second form.

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


Open the Podbay Doors
HAL!

Posts: 61
Joined: Dec 8th, 2006
Re: Declaring the Object Variable of FCX outside
Reply #2 - Feb 13th, 2007 at 7:04am
Print Post  
Thanks.

It works good.
  

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