Google tag

Pages

C++ Builder Call another Form


1. Prepare a Form1(Unit1.cpp) and Form2(Unit2.cpp).
2. Insert an Button inside Form1.
3. Double Click the Button add the code below.



4. You must include the "Unit2.h" as like directive here.
5. Insert the code
Form2->ShowModal();
6. That all for my learning C++ builder today.

No comments: