Discussion Locked

Declare a form to use in another form

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I could not declare a form to use in another form like this:

Form1.h
---------
//A complete & correct form

Form2.h
---------
Form1 * F1 = new Form1(); // incorrect

Why?Please help me to solve the problem.
Thank you.

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.