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
 TOpenImageEnDialog->Files doesn't work if ModernDialog = true
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graph_man

326 Posts

Posted - Apr 02 2024 :  10:00:28  Show Profile  Reply
How to fix it?

xequte

38517 Posts

Posted - Apr 03 2024 :  15:56:43  Show Profile  Reply
Hi

I added this code to a new form and it correctly returned the selected files (with and without multiple selection. Can you give me more information?

procedure TImageEnViewForm.Button2Click(Sender: TObject);
var
  od: TOpenImageEnDialog;
begin
  od := TOpenImageEnDialog.Create( Self );
  od.Options := od.Options + [ ofAllowMultiSelect ];
  od.ModernDialog := True;
  if od.execute then
    ShowMessage( od.Files.Text );
  od.Free;
end;

Note: We fixed an issue in an earlier beta where Files returned two of each item


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

graph_man

326 Posts

Posted - Apr 04 2024 :  05:42:15  Show Profile  Reply
I use ImageEn 13.0.0
and od.Files.Text is empty
Go to Top of Page

xequte

38517 Posts

Posted - Apr 04 2024 :  14:52:20  Show Profile  Reply
Hi

Please try 13.1.0, or email me for the latest beta.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: