|
안녕하세요...
FileListBox가 두개가 있고...이 FileListBox에 디렉토리가 나오게 설정을했습니다....
FileListBox 두개중 하나의 FileListBox에서는 아무리 디렉토리를 이동해도 에러가 나지 않습니다..
근데 다른 하나의 FileListBox 디렉토리를 이동하려면 에러가 납니다..
error : project Project1.exe raised exception class EInOutError with message 'File not found',
Process stopped.
물론 아래의 소스를 보시면 왜 파일을 찾을수 없다는지 모르겠네요..
고수 여러분들~~ 제발 좀 도와주세요....
빠른 답변 기다리겠습니다..
void __fastcall TForm1::FileListBox1DblClick(TObject *Sender)
{
AnsiString FileList1Path = FileListBox1->Items->Strings[FileListBox1->ItemIndex];
FileListBox1->Directory = FileList1Path;
void __fastcall TForm1::FileListBox2DblClick(TObject *Sender)
{
AnsiString FileList2Path = FileListBox2->Items->Strings[FileListBox2->ItemIndex];
FileListBox2->Directory = FileList2Path;
그럼 좋은시간 되시고.. 즐프하세요~~~~~~~~
|