Color for selected item

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38156
    P. Forest
    Participant

    Hi, I'm using a TsListView on which a position a TsPanel to display specific information. How can I identify the skin background color used for the selected item and unselected item? I need it to make the panel appear part of the item (to be selected when the item is selected). Thanks for your time.

    #59087
    Support
    Keymaster

    Hello

    You can receive some colors from the TsSkinManager.Palette array:

    Code:
    sSkinManager1.Palette[pcSelectionBG];
    sSkinManager1.Palette[pcSelectionText];
    sSkinManager1.Palette[pcSelectionBG_Focused];
    sSkinManager1.Palette[pcSelectionText_Focused];
    #59091
    P. Forest
    Participant

    Thanks, that's what I was looking for.

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