ShowFocusRect button option

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #38270
    Lasse
    Participant

    Is it by design or is this a bug that a button focus rect is not showing if SkinManager is assigned?

    See sButton unit, procedure TsButton.DrawCaption, and line

    Code:
    587: (SkinData.SkinManager = nil) then begin

    By commenting that out it works like I think it should.

    #59546
    Stephane Senecal
    Participant

    TsSkinManager.ButtonsOptions.ShowFocusRect is set to what?

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #59547
    Lasse
    Participant

    True, see the code, it tells what the problem is.

    #59548
    Lasse
    Participant

    and the button must be TsButton, works only with TButton now…

    #59549
    Stephane Senecal
    Participant

    Oh I see now. Sorry.

    To add a little bit more information, that part of code is different between TsButton and TsBitBtn which is weird.

    The focus rectangle is displayed in the TsBitBtn.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #59566
    Support
    Keymaster

    Yes, this is the error, it will be fixed in the v14.26

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