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
 Explorer demo

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
jenswahl Posted - Mar 28 2022 : 07:39:29
Hello,

I have a question to the Explorer demo (10.3.5): If I add ievtVirtualFolders to the ViewTypes of the IEFolderTree1 than my smartphone is displayed. So far it's OK. If I open some folders of the smartphone than only the name of the selected folder is displayed in the edtFolder-Object. And so no file is displayed in the FolderMView (see attached image 1).
The problem is the missing complete path which is founded in IEFolderTree1FolderChange.
What have I to change to get the full path at connected devices?
If I set ReadOnly := False at edtFolder and fill in the complete path I get the images (see attached image 2)

Kind Regards,

Jens






www.inntalsoftware.de/en/
2   L A T E S T    R E P L I E S    (Newest First)
jenswahl Posted - Mar 29 2022 : 04:56:24
Thank you, Nigel. I found a solution for me and so I can wait for the official release.

My solution is the following (in Explorer demo):

procedure TForm1.IEFolderTree1FolderChange(Sender: TObject; const Path: string; Node: TIEFolderNode);
var
  folderName: string;

  ndTmp: TTreeNode;
  sTmp: String;
  bGoOn: Boolean;
  iTmp: Integer;

begin
    folderName := IEFolderTree1.Folder;
    if folderName = '' then begin
//original:    folderName := IEFolderTree1.SelectedFolder.Name;
        sTmp := IEFolderTree1.SelectedFolder.Name;
        ndTmp := IEFolderTree1.Selected;
        bGoOn := True;
        iTmp := 0;
        while bGoOn do begin
            ndTmp := ndTmp.Parent;
            if (ndTmp <> nil) and (ndTmp.AbsoluteIndex > 0) then begin
                sTmp := ndTmp.Text + '\' + sTmp;
                Inc(iTmp);
            end
            else begin
                bGoOn := False;
                if (iTmp > 0) then begin
                    sTmp := 'WPD:' + sTmp;
//                    IEFolderTree1.Deselect(IEFolderTree1.Selected);
                    //Folder will be empty after this line:
//                    IEFolderTree1.Folder := sTmp;
//                    IEFolderTree1.Update;
                    //so use a little trick: set the MView-Folder directly:
                    IEFolderMView.Folder := sTmp;
                    folderName := sTmp;
                end
                else begin
                    folderName := IEFolderTree1.SelectedFolder.Name;
                end;
            end;
        end;
    end;
    edtFolder.Text := folderName;
end;


Kind regards,

Jens

www.inntalsoftware.de/en/
xequte Posted - Mar 29 2022 : 01:15:38
Hi

We have added device support to TIEFolderTree in the current beta. You can email us to test it.

Nigel
Xequte Software
www.imageen.com