Opening an image
Mar 7, 2011 at 9:37pm UTC
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
Mar 7, 2011 at 9:45pm UTC
Ok, please before we continue this (in regard to your earlier question):
What is your experience level with programming?
And what API are you using in the first place?
Mar 8, 2011 at 3:22pm UTC
Low lol
and C builder XE
Topic archived. No new replies allowed.