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
http://stackoverflow.com/questions/33020096/how-to-handle-menu-scaling-after-runtime-dpi-change-in-delphi-seattle
#10seattle #multi-DPI #high-dpi
/sub
ReplyDelete/usb
ReplyDeleteHave you filed a QP about this? It looks like it needs VCL changes to work properly.
ReplyDeleteMaybe something to do with a TForm.CurrentScreen property? (Does that already exist? If not it should...)
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.
ReplyDeleteTForms has a monitor property and a pixelsperinch property which work as advertised. They just didn't make necessary changes in menus.
ReplyDeleteWhen 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
ReplyDeleteI have updated my StackOverflow post with an answer that is working for me now, and I have posted an issue on QP here:
ReplyDeletehttps://quality.embarcadero.com/browse/RSP-12580
thanks for posting these. interesting to see responses.
ReplyDeleteNice question. Nice answer. Up voted both.
ReplyDeleteBrandon Staggs Thanks - voted.
ReplyDelete