void __fastcall TERDmarker::openimage21Click(TObject *Sender)
{
TPicture * pct = new TPicture;
Graphics::TBitmap *bmpPicture = new Graphics::TBitmap;
bmpPicture->LoadFromFile(L"person.bmp"); // get rid of l and see what happens
pct->Graphic = bmpPicture;
LecERD->Picture = pct;
}
I would like to know, instead of loading person.bmp, how can i execute a opendialog option so the user can choose what they want....