Font selection dialog bug

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #54070
    Support
    Keymaster

      Hello! These items are drawn by Windows system and we can't forbid it and redraw, unfortunately.

      #54073
      Kujo
      Participant

        Ok, but I think is not possible to use a dialog like this:

        [attachment=7339:FontDialog.png]

        Regards

        #54074
        Support
        Keymaster

          Sure, I'm thinking about a new custom font dialog, but some issues exists there.

          #54503
          standay
          Participant
            'Kujo' wrote:

            Ok, but I think is not possible to use a dialog like this:

            [attachment=7339:FontDialog.png]

            Regards

            I had this same issue. Here's how I fixed it .Wound up the key was just setting the ChangeSysColors to false before showing the dialog, and to sSkinManager1.Active afterwards. sSkinManager1.Active will be true when skins are on. Looks simple now, but took hours to figure out.

            sSkinManager1.Options.ChangeSysColors := false;

            fontDlgOK := FontDialog1.Execute;

            if fontDlgOK then…

            //when done:

            sSkinManager1.Options.ChangeSysColors := sSkinManager1.Active;

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