Horizontal Scrollbar on TsChecklistbox

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40765
    Support
    Keymaster

      Hello

      Try to define a font of Canvas before calling TextWidth (I mean DestListBox.Canvas.Font.Assign(DestListBox.Font)).
      This horizontal scrollbar was tested already and was working well..

      #40773
      Sereby
      Participant

        hi,

        you are right.. in a fresh project it is working with this.. but in my big project it is not working.

        i was successful in creating a demo-app for you!

        Hope you can find the bug

        thanks

        #40775
        Support
        Keymaster

          Thank you for demo.
          This solution (LB_SETHORIZONTALEXTENT message) working if listbox is visible already seems.
          Try to call AddHScroll after UpdateFrame…

          #40776
          Sereby
          Participant

            thanks.

            but with the old TCheckListBox it is working without this!

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