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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 change default IEFolderMView.PromptForFolder
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Oct 14 2018 :  03:17:35  Show Profile  Reply
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

xequte

38182 Posts

Posted - Oct 14 2018 :  14:58:03  Show Profile  Reply
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
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Oct 17 2018 :  05:50:08  Show Profile  Reply
Hi Nigel,
perfect, that's what i was looking for.
Thank you very much

Klaus
www.klausdoege.de
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: