Hi,

I have this:

void __fastcall TERDmarker::LecERDClick(TObject *Sender)
{

    LecERD->Picture = *pct; //LecERD->Execute();
}
//---------------------------------------------------------------------------



//---------------------------------------------------------------------------

void __fastcall TERDmarker::openimage21Click(TObject *Sender)
{
    TPicture * pct = new TPicture;

    pct->LoadFromFile("C:\Users\Yassar\Desktop\vpbmp");

   //   LecERD->Picture = pct;
}

What i am trying to do is, get openimage2click to open an image and save it to pct......
then pass the pct data into the LedERDclick.....i dont know how to pass the info and so on :D

any help or information would be great

Thank you