Scale Mode Request

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #55500
    Support
    Keymaster

      For receiving of the current system scale value you can use such code:

      Code:
      CurrentScale := aScalePercents[sSkinManager1.SysFontScale]

      Add “sConst” into “uses”.

      #55502
      TAZ
      Participant

        It did the trick.

        actToolsScaleModeAuto.Caption := 'Auto (' + IntToStr(aScalePercents[smMain.SysFontScale]) + '%)';

        Thank you very much.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.