Ver Mensaje Individual
  #5  
Antiguo 20-09-2016
fabiodidone fabiodidone is offline
Miembro
NULL
 
Registrado: sep 2016
Posts: 11
Reputación: 0
fabiodidone Va por buen camino
Hola, es verdad. Gracias por recordarmelo.

En Unit1.cpp tengo esto:
Código PHP:
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include "Unit2.h"
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;

__fastcall TForm1::TForm1(TComponentOwner)
        : 
TForm(Owner)
{
}


void __fastcall TForm1::FormActivate(TObject *Sender)
{
Form2->Show();

En Unit2.cpp tengo esto otro:
Código PHP:
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include "Unit2.h"
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm2 *Form2;
__fastcall TForm2::TForm2(TComponentOwner)
        : 
TForm(Owner)
{


Última edición por ecfisa fecha: 20-09-2016 a las 22:30:17. Razón: Agregar etiquetas [php] [/php]
Responder Con Cita