Ver Mensaje Individual
  #4  
Antiguo 27-11-2024
Avatar de Angel.Matilla
Angel.Matilla Angel.Matilla is offline
Miembro
 
Registrado: ene 2007
Ubicación: Toledo - España
Posts: 1.418
Reputación: 21
Angel.Matilla Va por buen camino
Cita:
Empezado por Casimiro Notevi Ver Mensaje
¿Y cómo se hace?

Es para tenerlo aquí como referencia para cuando me afecte el alzheimer
En el .cpp:
Código:
bool TInicio::CargaPx()
{
[...]
}
//---------------------------------------------------------------------------

bool TInicio::CreaDb()
{
[...]
}
//---------------------------------------------------------------------------

bool TInicio::CreaTb()
{
[...]
}
//---------------------------------------------------------------------------
y en el .h:
Código:
//---------------------------------------------------------------------------

#ifndef InicioH
#define InicioH
//---------------------------------------------------------------------------

#include <system.hpp>
#include <DBTables.hpp>
#include <IBCustomDataSet.hpp>
#include <IBTable.hpp>
#include <ADODB.hpp>
#include <DB.hpp>
#include <IdAttachmentFile.hpp>
//---------------------------------------------------------------------------

class TInicio
{
private:
public:
     bool CargaPx();
     bool CreaDb();
     bool CreaTb();
     AnsiString cInicio;
     int nItem;
};
//---------------------------------------------------------------------------

#endif
Responder Con Cita