Hi,
i want to be able to do this:
bmpPicture = OpenPic->Execute();
i want to execute open pic, this will then allow the user to choose an image they want to load. Then get that data and store it into bmpPicture, so that i can then send bmpPicture into something else.
This is the entire function if it helps:
1
2
3
4
5
6
7
8
9
10
11
void __fastcall TERDmarker::openimage1Click(TObject *Sender)
{
TPicture * pct = new TPicture;
Graphics::TBitmap *bmpPicture = new Graphics::TBitmap;
//bmpPicture = OpenPic->Execute();
pct->Graphic = bmpPicture;
Image1->Picture=pct;
}
Any information would be great.
Thanks