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
 ImageEnFolderMView Actions

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
lago Posted - Jun 22 2017 : 08:11:28
Hello, I add images to a timagenfoldermview using appendimage and showing the filename as bottom. I have some problems using some "actions" and sorting methods.

For example, if I add a menu and associate it with the action "TIEFolderMViewCopySelectedFilesToClipboard" and assign it my imagefoldemview is never displayed as active. It happens to me with this action and with those of order

Trying to use them without actions:

I prove the following:
Not work: this->ImageEnFolderMView1->CopySelectedFilesToClipboard();

And:
   // this-> ImageEnFolderMView1-> SetSortOrderEx (iesbFilenameWithoutPath, true);
  This-> ImageEnFolderMView1-> SortOrder = iesbFilenameWithoutPath;
// then select ascending, or descending

With iesbFilenameWithoutPath it seems to work fine, but not with the rest described here:
https://www.imageen.com/help/TIEImageEnMViewSortBy.html

What do I do wrong?

Thank you!
9   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 06 2017 : 19:07:37
Hi

We have a fix available for this (related to lossless rotation). Please email me for an update.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
lago Posted - Jul 05 2017 : 14:50:26
Hi Nigel, thanks for your help, I will use appendfile better. I have encountered a serious problem when using horizontal and vertical flip actions, as well as TImageEnMViewRotateRight and TImageEnMViewRotateLeft ...
When you activate AutoSaveChanges after repeatedly using the same action on the same image, the jpg image becomes corrupted.

The file size increases each time the action is executed and to the fifth or sixth time it is used: ImageEnMViewRotateRight1AutoSaveError returns:

"Unexpected error while performing lossless transformation"

Do you know what is happening?

Thanks for your help
xequte Posted - Jun 28 2017 : 21:37:59
Hi

AppendFile does a few extra things that are needed by TIEFolderMView, such as filling the date and size fields so that sorting is possible.

Generally this should not have a significant effect on fill speed unless the list is large.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
lago Posted - Jun 28 2017 : 14:43:25
Hello Nigel, thanks for replying and sorry for the late reply. I have questions about using AppendImage and AppendFile. AppendFile works correctly with different sorts. My question is about:

This AppendImage property:
LoadOnDemand If True, the image will not be loaded from disk until it is displayed (i.e. when it is scrolled into view)

In AppendFile I see:
Note: Unlike the AppendImage methods, the added file will be loaded on demand and filled with the details and properties of TImageEnFolderMView

Instead AppendImage manages images faster, or so it seems to me.

Should it be as fast as AppendImage than AppendFile?

Thank you!
xequte Posted - Jun 25 2017 : 20:18:23
Hi

Thanks, I have received it.

Firstly, AppendImage and AppendFile require the full path to a file, so the event should be:

// Fill the grid with the content of a TFileListBox
procedure TForm1.DirectoryListBox1Change(Sender: TObject);
var
  i: Integer;
begin
  ImageEnFolderMView1.Clear();
  for i := 0 to FileListBox1.Items.Count - 1 do
    ImageEnFolderMView1.AppendFile( IEAddBackSlash(FileListBox1.Directory) + FileListBox1.Items[i], true );
end;


Also, with TImageEnMView you should use AppendFile, rather than AppendImage.


Finally, please note that you do not require a TFileListBox at all, just call:

procedure TForm1.DirectoryListBox1Change(Sender: TObject);
begin
  ImageEnFolderMView1.Folder := DirectoryListBox1.Directory;
end;


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
lago Posted - Jun 24 2017 : 01:07:41
Hello Nigel, mail has been sent. Thanks you.
xequte Posted - Jun 23 2017 : 22:14:27
If you can create a simple demo that reproduces the problem, please forward it to me.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
lago Posted - Jun 23 2017 : 04:36:39
Hello Nigel, I establish it, when I throw the action the images are rearranged, but in the wrong order. Your demo example works fine, I'll keep investigating ...

I am disoriented by the fact that for example the Copy to Clipboard action is disabled all the time.
xequte Posted - Jun 22 2017 : 19:29:24
Hi

Have you set the IEFolderMView property of the TAction to your TImageEnFolderMView component?



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