Skinning 3rd party controls: Trackbar descendant

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32939
    OldGrumpy
    Participant

    Hi there,

    I'm currently playing with the 6.22 trial and was able to solve most problems instantly, but I'll need help with this one:

    Skinning of 3rd party components works basically by telling the SkinManager what known control the third party control resembles. My problem with this: There is a TsTrackbar, but TTrackbar is not listed in the set of known VCL controls. I made a TTrackbar descendant to implement some special mouse behaviour and my trackbars get no skinning due to this. What control do I use to introduce my own TMyTrackbar to the SkinManager for proper skinning?

    Or do I have to change my Class to derive from TsTrackbar instead of TTrackbar? Can I check this with the trial version or do I need the full source for that?

    #39089
    Support
    Keymaster

    Hello

    TsTrackBar is inherited from standard TTrackBar and have fully equal behaviour. You can try to derive own component from TsTrackBar

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