Go to Post So is it important to try? Without a doubt. Does it become frustrating to not win? Most certainly. Should you stop trying? Never! - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-12-2006, 16:59
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Visual C++ 2005 Designer

I am using the inbuilt designer to build a Multi Document Interface. Now I can inherit the Children forms form the Parent and display them or access their objects. The designer uses the Header flies for everything.

The Problem occurs when I try to inherit a object form the Parent form to one of the Children.

Example:
(Parent Form/parent.h)

#include "Child.h"

ref class Parent: ......
{
Child^ c = gcnew Child;(No problem here)

bla bla.....
}

But when I also try to do this
(Child Form/child.h)

#include "Parent.h"

ref class Child: ....
{
Parent^ p = gcnew Parent;(give me a bunch of errors that I know are not wrong)

bla bla

}
I can find anything on this on the internet or the help files.

Can some one explain some possible reasons or what it means? Thanks
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual C++ 2005 Forms 6600gt Programming 7 20-09-2006 00:05
LEGO digital designer tiffany34990 Chit-Chat 2 08-10-2005 07:13
Bridge Designer Cyberguy34000 Chit-Chat 4 13-08-2005 21:07
Graphic Designer / Animator Jay5780 Career 1 05-06-2001 20:05


All times are GMT -5. The time now is 01:31.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi