![]() |
Detecting which column was single clicked |
Post Reply ![]() |
Author | |
Shawshank ![]() Senior Member ![]() Joined: 16 October 2005 Status: Offline Points: 117 |
![]() ![]() ![]() ![]() ![]() Posted: 02 February 2006 at 2:15pm |
Is there a way to determine which column was single clicked on, like when sorting. I know that a SortOrderChanged event occurs but this doesn't reveal which column was single clicked. It seems like the only click event generated for a column is a right click event. The FocusedColumn property isn't reliable for this determination because it is possible that no Record or ReportRecordItem is selected.
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Why not something like this?
Private Sub wndReportControl_SortOrderChanged() Debug.Print wndReportControl.SortOrder.Column(wndReportControl.SortOrder .Count - 1).Caption & " was just sorted" End Sub |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |