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
 change default IEFolderMView.PromptForFolder

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
klausdoege Posted - Oct 14 2018 : 03:17:35
Hi,
How can I change the default folder for IEFolderMView.PromptForFolder ?
When is set IEFolderMView1.Folder for example:
IEFolderMView1.Folder := 'C:\MyImages\';
Then IEFolderMView1 is updated immediately.
I would like to update this but only after IEFolderMView.PromptForFolder.
How can I realize this ?

Klaus
www.klausdoege.de
2   L A T E S T    R E P L I E S    (Newest First)
klausdoege Posted - Oct 17 2018 : 05:50:08
Hi Nigel,
perfect, that's what i was looking for.
Thank you very much

Klaus
www.klausdoege.de
xequte Posted - Oct 14 2018 : 14:58:03
Hi Klaus

You can just use:

var
  sNewFolder: string;                  
begin
  sNewFolder := 'C:\Some Folder';
  Result := WindowsSelectDirectory('Select a folder', sNewFolder, Self);
  if Result then
    IEFolderMView1.Folder := sNewFolder;
end;


Nigel
Xequte Software
www.imageen.com