ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to blank (clear) an ImageEnView?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Ole Ekerhovd Posted - Jul 10 2021 : 06:44:13
I have just started to view Pdf files using ImageEn and it works just great :)

If the user chooses the wrong file to display or just want to abort I would like to clear the ImageEnView so it's displayed blank.

I have tried without any luck:

imageenview1.IO.ClosePDFFile;
ImageEnView1.Clear;
imageenview1.Deselect;
imageEnView1.Blank();

I use ImageEnMView to display miniatures and it is blanked successfully with imageenmview1.Clear;

Regards,
Ole
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 11 2021 : 03:40:48
Hi Ole

It should be:

ImageEnView1.PDFViewer.Enabled := False;

Or

ImageEnView1.PDFViewer.Close();

Nigel
Xequte Software
www.imageen.com