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
 DoPreviews

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
jrpcguru Posted - Jan 16 2015 : 15:25:21
I would like to tell the DoPreviews dialog to automatically show the preview. I can find no example of how to do that. The following lines compile but do nothing:

ImageEnView1.Proc.IPDialogParams.SetProperty('LockPreview','prppDefaultLockPreview');
ImageEnView1.Proc.IPDialogParams.SetProperty('prppDefaultLockPreview', 'True');

What is the correct method?

J.R.
6   L A T E S T    R E P L I E S    (Newest First)
jrpcguru Posted - Feb 02 2015 : 15:28:56
I use XE2.
I have not tried to step through your source code. I don't think I'm sufficiently advanced as a programmer in Delphi.

Now that it is working for me, I'm happy.

J.R.
xequte Posted - Feb 02 2015 : 15:18:45
Hi JR

I cannot reproduce that, nor see any issue with the code. Also the description in your last post sounds like something seriously iffy is going on.

What Delphi version do you use? Have you tried adding the ImageEn source to your library path and stepping through the code?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
jrpcguru Posted - Feb 02 2015 : 08:38:40
I have revisited this question.
This syntax had previously failed to turn on previewing in proc.DoPreviews:
ImageenView1.Proc.PreviewsParams := [prppDefaultLockPreview];
Today I tried:
ImageEnView1.Proc.PreviewsParams := [prppDefaultLockPreview,prppResetSelectedTab];
The reset button disappeared, but the preview was locked. Then I tried:
ImageEnView1.Proc.PreviewsParams := [prppDefaultLockPreview,prppResetSelectedTab,prppShowResetButton];
Now I have locked previews and the Reset button is visible and resets only the selected tab as desired. I don't know why the first syntax failed, because now it works but I will use the last syntax.

J.R.
xequte Posted - Jan 25 2015 : 14:56:21
Hi JR

I'm away till the end of the week. I'll investigate after that.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
jrpcguru Posted - Jan 22 2015 : 17:52:56
I used this code:
ImageEnView1.Proc.PreviewsParams := [ioppDefaultLockPreview];
ImageEnView1.Proc.DoPreviews([peContrast,peHSV,peHSL,peRGB,peEqualize,peGamma,peSharpen], true,(Screen.width div 4) * 3, (screen.height div 4) * 3); // show only color effects;

This did nothing to lock the preview and according to the help file is used for something else. How do I turn on the preview feature of the DoPreviews dialog??

J.R.
xequte Posted - Jan 16 2015 : 15:56:08
Hi

Please use:

ImageEnView1.Proc.PreviewsParams := [ioppDefaultLockPreview];

q.v. http://www.imageen.com/help/TImageEnProc.PreviewsParams.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com