Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › TRZFormState and HDPI
- This topic has 4 replies, 3 voices, and was last updated 2023-03-14 at 10:05 pm by Ray Konopka.
-
AuthorPosts
-
-
January 28, 2023 at 10:34 am #3433
I’m trying to use the TRZFormState component in my app to control forms’ size/positions. It works fine for that purpose, but doesn’t resize them here with HDPI scaling. I’m using a single 1680 x 1050 96 dpi monitor to test this functionality and all is ok at 100% scaling (Settings>System>Display>Scale) . When I change to 175% scaling, the form’s screen size doesn’t increase as expected but remains the same as at 100% scaling. My current ‘homemade’ method of scaling using the onResize event does work as expected. Should the component rescale forms as I expect on (simulated) HDPI displays?
Using W11 and Delphi Alexandria 2.
-
January 28, 2023 at 12:32 pm #3434
Hi Andrew,
Since acquiring the components back in 2015, Embarcadero has addressed some HDPI-related issues in the components, but unfortunately there are still outstanding issues. Such as what you describe with TRzFormState. I would encourage you to submit a report on Quality Portal about this issue so that Embarcadero becomes aware of the issue and can track it, and hopefully address it. Please prefix the title of the report with “KSVC:” as request by Marco Cantu.
Ray
-
January 30, 2023 at 12:00 pm #3441
Thanks Ray. However, I have decided not to use the TRZFormState component in my app as I only want one ini Section for all forms in the app and only one key (with minimal data) per form in that section; TRZFormState works fine as far as form positioning is concerned, but doesn’t meet this requirement. I don’t want to use registry storage.
-
January 31, 2023 at 4:05 pm #3444
Maybe you are having this problem:
https://quality.embarcadero.com/browse/RSP-39701
RSP-39701 KSVC: TRzFormState makes form wrong size if form moved between monitors -
March 14, 2023 at 10:05 pm #3460
Hi Andrew,
Sorry for the long delay. I missed your last response. The TRzFormState connects to a TRzRegIniFile which can save settings to either the Registry or an INI File.Ray
-
-
AuthorPosts
- You must be logged in to reply to this topic.