My first StackOverflow question, which is undoubtedly going to get closed since I don't know what I am doing over there:

My first StackOverflow question, which is undoubtedly going to get closed since I don't know what I am doing over there:
http://stackoverflow.com/questions/33020096/how-to-handle-menu-scaling-after-runtime-dpi-change-in-delphi-seattle
#10seattle  #multi-DPI #high-dpi

Comments

  1. Have you filed a QP about this? It looks like it needs VCL changes to work properly.

    Maybe something to do with a TForm.CurrentScreen property?  (Does that already exist? If not it should...)

    ReplyDelete
  2. It definitely needs VCL changes, as they are using Screen.MenuFont and should never use that ever ever ever again, since it is totally unaware of multi-dpi issues.  I will implement my own corrects to Vcl.menus and see about posting a QP.

    ReplyDelete
  3. TForms has a monitor property and a pixelsperinch property which work as advertised.  They just didn't make necessary changes in menus.

    ReplyDelete
  4. When you do, please post a link here, so we can vote for it. For example, here is a link to one to ask them to address image lists for high DPI: https://quality.embarcadero.com/browse/RSP-12245

    ReplyDelete
  5. I have updated my StackOverflow post with an answer that is working for me now, and I have posted an issue on QP here:
    https://quality.embarcadero.com/browse/RSP-12580

    ReplyDelete
  6. thanks for posting these. interesting to see responses.

    ReplyDelete
  7. Nice question. Nice answer. Up voted both.

    ReplyDelete

Post a Comment