TsListView font problem

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #35801
    Oconnel
    Participant

    In few latest builds of AlphaSkins controls TsListview component font is always black. You can check it on any skin, but of course black skins are the best. Please fix it as soon as possible.

    #50702
    Support
    Keymaster

    Hello!

    Could you show a demo with such issue, please?

    #50706
    Oconnel
    Participant

    Hi again. No demo is necessary. Just open your own ac-demo, switch to Shell controls, and choose some skin with dark background, like Matrix. Screenshot:

    sb0cb8.png

    #50736
    Support
    Keymaster

    Yes, I see it in Shell ListView, thank you.

    I hope to fix it in the nearest release.

    #50763
    dhwz2001
    Participant

    I've the same issue, hope you can fix it soon. 😀

    Doesn't work with 8.42 and higher.

    #50765
    dhwz2001
    Participant

    Still not working with 8.45

    #50767
    Support
    Keymaster
    'dhwz2001' wrote:

    Still not working with 8.45

    You mean that captions still black?

    #50769
    dhwz2001
    Participant

    TsListView!!!

    Yes, both CustomDrawItem and CustomDrawSubItem…

    setting the Canvas.Font.Color ist not possible since 8.42 the font color is always black. 🙁

    Just some code snippet:

    Code:
    procedure TFormCompareSet.lvDiffCustomDrawItem(Sender: TCustomListView;
    Item: TListItem; State: TCustomDrawState; var DefaultDraw: Boolean);
    begin
    if Item.Index mod 2 = 0
    then lvDiff.Canvas.Brush.Color := FormMain.RowColor
    else lvDiff.Canvas.Brush.Color := lvDiff.Color;
    if Item.Checked
    then
    if item.SubItems[11] = FormMain.lwLngTrns(name,['Add'])
    then lvDiff.Canvas.Font.Color := clGreen
    else
    if (item.SubItems[11] = FormMain.lwLngTrns(name,['Update']))
    then lvDiff.Canvas.Font.Color := clBlue
    else lvDiff.Canvas.Font.Color := clRed
    else lvDiff.Canvas.Font.Color := clMedGray;
    end;

    It also not working in your own AlphaControls Demo.

    #50810
    Support
    Keymaster

    Thank you for the code, I'll make a test application and I will fix it.

    You can use OnAdvanceCustomDrawItemevent, this event should work.

    #50838
    dhwz2001
    Participant

    Not fixed with 8.46 🙁

    #50857
    Support
    Keymaster

    Sorry, some troubles exists there, I hope to fix it in this month.

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