Updating TsAlphaHints for listview items

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

    Hi there,

    I'm currently implementing hints for the items on a TsListView. I followed the AlphaHints demo code but found a problem with updating the hint depending on where the mouse cursor is: TsAlphaHints event only triggers once when entering the listview. Updating the hint frame from TsListView.OnInfoTip could cause problems because the hint frame is very volatile and gets freed and recreated whenever the tooltip vanishes/appears. So this is potentially causing a race condition leading to access violations et.al.

    Any suggestions how to solve this in a safe, non-crashing 😉 way are very welcome.

    Best regards

    #46433
    Support
    Keymaster

    Hello

    You can create this frame once and use him later.

    You saw a demo of AlphaHints?

    http://www.alphaskins.com/sfiles/demos/alphahints.zip

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