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
 Effects dialog corrupted
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

864 Posts

Posted - Aug 25 2017 :  18:43:06  Show Profile  Reply
The effects dialog called with
ImageEnView1.Proc.DoPreviews();
looks to be corrupted (controls partially not visible or colliding with other controls):

PeterPanino

864 Posts

Posted - Aug 26 2017 :  04:14:16  Show Profile  Reply
Probably the dialog form has been compiled with the Scaled = True property which makes controls not fitting the designed size on high-DPI displays.

Please provide a version of this dialog where Scaled = False!
Go to Top of Page

xequte

38198 Posts

Posted - Aug 27 2017 :  22:27:28  Show Profile  Reply
Hi Peter

Have you tried opening previews.dfm in Notepad, adding Scaled = False (after Caption = 'Previews', for example) and then recompiling the ImageEn source to confirm it resolves the issue?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

PeterPanino

864 Posts

Posted - Aug 28 2017 :  02:15:03  Show Profile  Reply
Hi Nigel,

yes, it solves the problem. Thank you!

I have now changed this file: \ImageEn\Delphi10.1Berlin\Previews.dfm

(as I have Delphi10.1.2 Berlin):

object fPreviews: TfPreviews
  Left = 327
  Top = 311
  BorderIcons = [biSystemMenu, biMaximize]
  Caption = 'Previews'
  Scaled = False
  ClientHeight = 422
  ClientWidth = 554
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = True
  Position = poScreenCenter
  OnActivate = FormActivate
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnResize = FormResize
  PixelsPerInch = 96
  TextHeight = 13
...


Go to Top of Page

PeterPanino

864 Posts

Posted - Aug 28 2017 :  02:30:11  Show Profile  Reply
These are my main-screen settings where I am compiling:

Go to Top of Page

PeterPanino

864 Posts

Posted - Aug 28 2017 :  03:49:01  Show Profile  Reply
Hi Nigel,

maybe you should introduce a new compiler switch in a single INC file where we can control the value of the Scaled property in all ImageEn forms.
Go to Top of Page

xequte

38198 Posts

Posted - Aug 28 2017 :  22:53:08  Show Profile  Reply
Hi Peter

We've made a number of improvements to dialog layout in v7.0.2 when high DPI is used.

You can email me to test it if you like.



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