Font selection dialog bug

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36687
    Kujo
    Participant

    Hi,

    run the AC demo and open the font dialog: as you can see, the “highlight” color (and/or the background) in the first two listboxes is wrong.

    Regards

    #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 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.