Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: How to make FireDAC HiDpi-aware?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Mar 3, 2017 8:20 AM Last Post By: Roland Schramme
Roland Schramme

Posts: 3
Registered: 11/10/06
How to make FireDAC HiDpi-aware?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 28, 2017 7:22 AM
FireDAC seems not to be HiDpi-aware, even in the lastest incarnation for Berlin 10.1 Update 2. This is especially annoying for the FireDAC database Login window. [FireDAC Login window in HiDpi environment|https://drive.google.com/open?id=0B3wJgACvZri0WXM2dkJ1NGppSWM]
Is there any way to enable HiDpi awareness in FireDAC?
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: How to make FireDAC HiDpi-aware?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 28, 2017 10:35 PM   in response to: Roland Schramme in response to: Roland Schramme
Is there any way to enable HiDpi awareness in FireDAC?

I will suggest to report this issue to quality.embarcadero.com.

--
With best regards,
Dmitry
Roland Schramme

Posts: 3
Registered: 11/10/06
Re: How to make FireDAC HiDpi-aware?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 1, 2017 8:33 AM   in response to: Dmitry Arefiev in response to: Dmitry Arefiev
Dmitry Arefiev wrote:

I will suggest to report this issue to quality.embarcadero.com.

Thank you, I thought you might have another idea.
I reported it: [https://quality.embarcadero.com/browse/RSP-16776]
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: How to make FireDAC HiDpi-aware?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 1, 2017 9:23 PM   in response to: Roland Schramme in response to: Roland Schramme
Thank you, I thought you might have another idea.

Two other options:
* rework FireDAC.VCLUI.Login.pas to support HiDpi;
* create simple custom form, which supports HiDpi. And use it in your application.

--
With best regards,
Dmitry
Roland Schramme

Posts: 3
Registered: 11/10/06
Re: How to make FireDAC HiDpi-aware?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 3, 2017 8:20 AM   in response to: Dmitry Arefiev in response to: Dmitry Arefiev
Dmitry Arefiev wrote:
rework FireDAC.VCLUI.Login.pas to support HiDpi;

Fixed it by setting frmFDGUIxFormsOptsBase.AutoSize to "True"

It's a workaround, but it's OK.

Thank you!
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02