T O P I C R E V I E W |
ali |
Posted - Apr 09 2025 : 09:16:15 Hello
When we open a folder containing images and PDF files with the following command: If we delete the image and run the above command again, ImageEnView1 does not bring back the deleted image and there is no problem. But if we open the PDF file in ImageEnView1 and then delete the PDF file and run the following command again, even though the PDF file does not exist, unfortunately ImageEnView1 still opens the opened PDF file. We have to close the entire program and reopen it for it to work properly.
ImageEnMView1.Clear; ImageEnView1.Clear; ImageEnView_Scan.Clear; ImageEnMView_Temp.Clear;
if not DirectoryExists(Path_of_Documents1+'\'+DM1.FDMain_Query.FieldByName(Field_name1).AsString ) then CreateDir(Path_of_Documents1+'\'+DM1.FDMain_Query.FieldByName(Field_name1).AsString ); ImageEnMView1.FillFromDirectory(Path_of_Documents1+'\'+DM1.FDMain_Query.FieldByName(Field_name1).AsString+'\' );
Best Regards
Ali Abbasi |
3 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Apr 10 2025 : 18:56:40 Sorry, I'm not really seeing what you are doing here. Please send me a very simple demo that shows the error.
Nigel Xequte Software www.imageen.com
|
ali |
Posted - Apr 10 2025 : 09:33:31 Hi Nigel Thank you.
In ImageEnView1 is ok. ImageEnView1.PdfViewer.Enabled := False;
But for ImageEnMView1 show The error "undeclared identifier PdfViewer". I use iepdf. ImageEnMView1.PdfViewer.Enabled := False;
After the above command my previous problem with ImageEnView1 is solved. But when I add another pdf file and click on that pdf in ImageEnMView1 I want the pdf file to show in ImageEnView1 it gives the following error in my attachment file:
When
Best Regards
Ali Abbasi
 |
xequte |
Posted - Apr 09 2025 : 22:54:37 Hi Ali
What is the value of ImageEnView1.PDFViewer.Enabled?
http://www.imageen.com/help/TIEPdfViewer.Enabled.html
If it is Enabled, set Enabled to False to reset the currently loaded PDF.
Nigel Xequte Software www.imageen.com
|