Error creating scaled form with TRibbon.

General TRichView support forum. Please post your questions here
Post Reply
HAiDA
Posts: 32
Joined: Mon Apr 11, 2011 12:12 pm

Error creating scaled form with TRibbon.

Post by HAiDA »

I have an editor based on the ActionTestRibbon demo, and if the magnification in Windows is set to 125%, I get an error when creating the form with Ribbon. The demo ActionTestRibbon is behaving correctly, but I can't figure out why my form isn't working at all. It works properly at 100% magnification. Testing on Delphi 10.4.1. Does anyone have more experience with Ribbon? Thank you.
Attachments
RibbonError.rar
(38.06 KiB) Downloaded 808 times
HAiDA
Posts: 32
Joined: Mon Apr 11, 2011 12:12 pm

Re: Error creating scaled form with TRibbon.

Post by HAiDA »

In fact, the demo also doesn't work. When I set DPI Awareness to Per Monitor v2, an error also occurs when creating the form. I assume that this is again a TRibbon error :(
Sergey Tkachenko
Site Admin
Posts: 17291
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Error creating scaled form with TRibbon.

Post by Sergey Tkachenko »

I am afraid TRibbon supports only 96 dpi.
I suggest searching for a third-party alternative.
HAiDA
Posts: 32
Joined: Mon Apr 11, 2011 12:12 pm

Re: Error creating scaled form with TRibbon.

Post by HAiDA »

This would explain the rendering errors.

100%
Snap552.png
Snap552.png (25.77 KiB) Viewed 11464 times
125%
Snap553.png
Snap553.png (29.97 KiB) Viewed 11464 times
Post Reply