TsTrackBar custom thumb image

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33569
    darcy
    Participant

    Hi,
    As you can see this is my first post. I have AlphaSkins V6.45 installed and am trying to add a custom thumb to my track bars. I am able to change the size and other attributes of the TsTrackBar but unable to load a custom image. Please can you help. I have included source showing 2 methods which I have tried but did not work.

    zoomBar->Thumb->LoadFromResourceName((int)HInstance,”THUMBZOOMSLIDER”);
    zoomBar->Thumb->LoadFromFile(“C:\ThumbZoomSlider.bmp”);

    Regards,
    D'Arcy

    #41756
    Support
    Keymaster

    Hello
    I'm sorry, but Thumb bitmap was created for other purposes..
    You need a solution for changing of this image? I will be thinking for that. Maybe such property will be added soon.

    #41757
    darcy
    Participant

    Hi,
    Thanks for the reply. Can you tell me what the bitmap attribute is for? I am committed to changing the Thumb of the TsTrackBar for my application. Is there ANY way of doing this e.g. a custom component. I would appreciate if you could think of a solution or ask around as I need to be able to change the thumb bitmap. I'd prefer not to go to a different vendor for a solution.

    Your help is greatly appreciated.

    D'Arcy

    #41758
    Support
    Keymaster

    The new ThumbGlyph property will be added soon and you will be able to work with this property using your code – LoadFromFile or LoadFromResourceName
    I think, it's will be enough?

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