Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 08 JUL 2021 07:03:55AM cmeyer wrote:

As suggested by Carl to change some shortcut switches I have /DP=1 in my shortcut expecting forms within the MDI to scale appropriately as I change the size of the OI window.

How can I get scaling to work?

Chris


At 08 JUL 2021 07:18AM Carl Pates wrote:

Hi Chris,

Scaling is not related changing the size of a window - it's related to a change in the monitor DPI or the form's custom SCALEFACTOR property.

You don't need to add any switches to enable a respond to a DPI change - it's the default - you add the switches to turn it off. SCALEFACTOR is something you as a developer set - it's not affected by switches at all.

What are you trying to achieve?

Here's some links that might help to explain it better:

https://revdevx.com/2013/04/23/openinsight-and-high-dpi/

https://revdevx.com/2014/05/29/openinsight-and-high-dpi-part-2/

https://revdevx.com/2014/06/02/the-scalefactor-property/

https://revdevx.com/2014/06/09/the-scaled-event/

Carl Pates

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/731aab33a64dc546b4f520ef87a3d380.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1