I want to display images or pdfs in my program. Because I only want to show them, I use the gdViewer-object.
The loading with
Get ComDisplayFromFile of oComGdViewer1 "C:\~Scan\@scan.jpg" to iOK
or Get ComDisplayFromPdfFile of oComGdViewer1 "C:\~Scan\~Probe.pdf" "" to iOK
doesn't cause any problems.
But what I need ist the right way to close the files, so they aren't locked in my system.
I've tried the
Send ComClear of oComGdViewer1
but this causes a black viewer-object and if I move the scrollbars, the image is shown again and opened.
I've looked in the big documentation, but I haven't found the right command.
I hove, someone of you can give me the missing command.
PS: Don't wonder about the stange syntax of my program. It is programmes with Visual Dataflex.
Who is online
Users browsing this forum: No registered users and 3 guests