Not a bug per se, just an interface wrong information
When add the HeaderPressed Event and put code in it, even if you place a Return True
(per the event documentation, the user report icon that shows a Sort
have been done (and the order) is displayed.
Sometimes ago, I put the code below to allow the icon removal:
gLB.SortedColumn = -1
gLB.HasHeading = False
gLB.HasHeading = True
This time I do not put it in the window that holds the ListBox
, but in another window, in the close event (so, click in the close button of the Window
, Close PushButton
and OK PushButton
).