Error (LEADDlgFile Control) example for C++ Builder
void __fastcall TForm1::Button1Click(TObject *Sender)
{
LEADDlgFile1->EnableMethodErrors = true;
try
{
LEADDlgFile1->ShowOpenDlg ( NULL );
}
catch (...)
{
ShowMessage("Calling ShowOpenDlg method failed\n Error No " + IntToStr(LEADDlgFile1->Error) + "\n" + LEADDlgFile1->ErrorMsg);
}
}