However,The Modern Windows dialog, IEN files cannot be previewed.
This dialog box allows preview IEN files
xequte
Posted - Nov 11 2021 : 23:30:28 Sorry, reviewing your images above, it is working as expected. The Modern Windows dialog does not have issues with scaling.
Posted - Nov 11 2021 : 19:36:52 It is very strange!!
Picture 1
Picture 2
xequte
Posted - Nov 11 2021 : 17:35:23 That's weird. You're not seeing the modern dialog, which should look like this:
What happens if you put a TOpenImageEnDialog on the form and call it instead:
// open file
procedure TMainForm.Button1Click(Sender: TObject);
begin
ImageEnView1.ClearAll();
OpenImageEnDialog1.ModernDialog := TRUE;
if OpenImageEnDialog.Execute() then
begin
ImageEnView1.IO.LoadFromFile( OpenImageEnDialog1.Filename );
ImageEnView1.Fit();
end;
end;
Posted - Nov 10 2021 : 18:11:28 Actually, we have found an issue with the dialog. It is still not ideal if the open dialog is opened on a form with different scaling than the active one.
You can email me to test the fix.
But you are better to use the modern Windows dialog: