How to disable scroll bars skin?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33749
    Leandro
    Participant

    I have been experienced a few problems with skinned scroll bars, so I think disable scroll bars skin for now.
    Is it possible?

    #42525
    Support
    Keymaster

    What component have a problem?
    If this component is standard edit control, then you can try an other skinning rule when control is added to the ThirdParty list.
    Choose 'Panel' type of skin, for example. Used SkinSection may be declared in the SkinProvider.OnSkinItem event.
    And, maybe I can solve a problem with scrollbars?

    #42558
    Leandro
    Participant

    QUOTE (Support @ May 15 2010, 09:24 AM) <{POST_SNAPBACK}>
    What component have a problem?
    If this component is standard edit control, then you can try an other skinning rule when control is added to the ThirdParty list.
    Choose 'Panel' type of skin, for example. Used SkinSection may be declared in the SkinProvider.OnSkinItem event.
    And, maybe I can solve a problem with scrollbars?

    TCustomDBGridFooter. I tried “Panel” (component isn't treated), “ListView” (scroll bars never appear) and “Grid” (scroll bars sometimes don't appear) skinning rule. I don't know when or how this component became a part of my solution neither who was the supplier, but it became a very important component. It shows items to selection on lookup panels and sometimes (using alphaskin) scroll bars don't appear. I could notice that TCustomDBGridFooter treats heavily the scroll bars, but in fact with no alphaskin it's ok. I can't substitute this grid for now (unfortunately).

    Maybe I could send you a demo application that simulates this behaviour. In this case, could you help me?

    #42584
    Leandro
    Participant

    The problem was solved by disabling the scroll bars (grid.ScrollBars := ssNone).

    The good new is that alpha skin keeps care about scroll bars even though it's disabled and, in this case, correctly!

    Thanks.

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