ListView 改变Column宽度,滚动滚动条,触发的是什么事件? 好像并不触发ONchange事件。  请各位大虾指点,这两个动作如何写事件?
 

解决方案 »

  1.   

    要是用鼠标拖动改变的话,则会触发OnColumnDragged事件
    Occurs when a column is dragged to a new position.property  property OnColumnDragged: TNotifyEvent;DescriptionWrite an OnColumnDragged event handler to respond when the user drags a column to a new position. OnColumnDragged occurs after all columns are in their new positions but before the list view repaints to reflect the change.OnColumnClick only occurs when ViewStyle is vsReport and ShowColumnHeaders is True.Tip: To uniquely identify columns so that you can recognize them after they are repositioned, use the list column抯 Tag property.