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
 Problem with dialog boxes
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

More-Majorum

France
17 Posts

Posted - May 11 2023 :  02:24:29  Show Profile  Reply
Hello everyone,

Is there a way to prevent IEOpenFolderDialog from shifting right and down every time it opens?
Is there also a way to specify the size of Imageen's dialogs?

Thank you in advance for your help.

xequte

39560 Posts

Posted - May 11 2023 :  23:44:26  Show Profile  Reply
Hi

Actually TIEOpenFolderDialog should always open in the center of the main form. Can you show me your code?

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

jenswahl

Germany
84 Posts

Posted - Sep 25 2026 :  17:01:45  Show Profile  Reply
Hello Nigel

and please excuse me for reopening this topic - I have the same problem. The IEOpenFolder-Width is much to wide and the "OK"-button is for a half out of the Screen.

The code is the following:

procedure TfPVMain.actOpenFolderExecute(Sender: TObject);
begin
//    _Mode;
    if (MyOptions.sLastFolder<>'') and (DirectoryExists(MyOptions.sLastFolder)) then begin
        IEOpenFolderDialog1.Folder := MyOptions.sLastFolder;
    end;
    if IEOpenFolderDialog1.Execute then begin
        MyOptions.sLastFolder := IEOpenFolderDialog1.Folder;
        _LoadFolderImages(IEOpenFolderDialog1.Folder);
    end;
end;


ImageEn version 15.2.1, Windows 11 with actual state.
I was looking if it is possible to set position and size of the dialog box but I found nothing.

Kind regards

Jens



attach/jenswahl/2026925165656_Opened_Folder_2026-09-25 234948.png
Go to Top of Page

jenswahl

Germany
84 Posts

Posted - Sep 25 2026 :  18:03:05  Show Profile  Reply
Hello Nigel,

I’ve now identified the reason for this unusual behavior. It has nothing to do with ImageEn, but rather the following: I am using a 4K monitor that has been downscaled to 2K with 150% scaling. I copied everything over to my laptop—which has a "standard" monitor—and the size and positioning are fine there. Sorry for the trouble.

Kind regards

Jens
Go to Top of Page

xequte

39560 Posts

Posted - Sep 27 2026 :  20:42:02  Show Profile  Reply
Hi Jens

The standard ImageEn dialog does not work well with scaling. You are better to enable ModernDialog:

http://www.imageen.com/help/TOpenImageEnDialog.ModernDialog.html

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

jenswahl

Germany
84 Posts

Posted - Sep 30 2026 :  15:21:32  Show Profile  Reply
Thank you, I will try it.

Jens
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: