Scaling problem in windows 10

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #69640
    Support
    Keymaster

      Hello
      This component should support standard ScaleBy function for correct scaling.
      I will check it soon.

      #69770
      RJ
      Participant

        Hello,

        Can you help me with this or a work around like detecting the 100 or 125% in windows. I dont know hou to do that.

        thanks in advance

        #69860
        Rafał Drzewiecki
        Participant

          Follow up on TMS

          Does your TAdvStringGrid work properly if so, what version of this component do you have?

          #69861
          RJ
          Participant

            I am using version 5.0.3.0 from TAdvStringGrind but i exclude this component from skinning because the look is not what i want. I still looking for a way to detecting what % the customer is running on his PC. Do you know how to do that?

            Regards

            Robert

            #69862
            Support
            Keymaster

              Hello
              If you have the TsSkinProvider component placed to the form, then you can receive a current PPI used by skin engine for this form: sSkinProvider1.SkinData.CurrentPPI

              Also, you can try this function:
              function GetControlPPI(Ctrl: TControl): integer;
              It’s declared in the sVCLUtils unit.

              #69876
              RJ
              Participant

                Hello,
                GetControlPPI works i can correct the problem with TAdvSmoothPanel.
                What i see also is that the pictures in the messagedlg are not resized correctly. See the attachments with different windows settings. How can i correct this?

                Regards
                Robert

                Attachments:
                You must be logged in to view attached files.
                #69879
                Support
                Keymaster

                  Hello, Robert! I will try to fix this issue with scaled icon soon.

                  #69882
                  Support
                  Keymaster

                    Hello, Robert! Do you use the Windows 7?

                    #69883
                    RJ
                    Participant

                      No i am running Delphi 7 on win10

                      Regards Robert

                      #69884
                      Support
                      Keymaster

                        I was asking because I’m not able to repeat it with Delphi 7 and Windows 10.
                        Maybe you can give a demo?

                        #69885
                        RJ
                        Participant

                          Here is the small demo. When change in windows to 150% and then run the demo you will see that the picture is not ok.
                          Hope this helps.

                          Attachments:
                          You must be logged in to view attached files.
                          #69887
                          Support
                          Keymaster

                            Thank you! I see it and I hope to improve it soon.

                            #70135
                            Support
                            Keymaster

                              Hello!
                              I have researched it and see that image is drawn by Delphi and changing of this behavior is difficult.
                              I can suggest to use the sMessageDlg procedure which is declared in the “sDialogs” unit.
                              Drawing in this dialog is more correct and buttons captions are localized automatically.

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