G
Guest
I have a search form that displays results in a list box. The list box has 7
columns. Rather than creating labels as a heading for each column I used the
heading feature of the list box to display the heading .ColumnHeads=True.
I am wondering if there is a double click cmd feature that can identify
which column heading I click on so I can retrigger the query with a sort
based on the column heading.
I know how to write the query that is not a problem, and I already have code
that when I double click on a item in the list a new form opens with the some
additional information based on the item clicked on. What I am not sure about
is how to identify which column of the row I have clicked in, is it even
possible.
columns. Rather than creating labels as a heading for each column I used the
heading feature of the list box to display the heading .ColumnHeads=True.
I am wondering if there is a double click cmd feature that can identify
which column heading I click on so I can retrigger the query with a sort
based on the column heading.
I know how to write the query that is not a problem, and I already have code
that when I double click on a item in the list a new form opens with the some
additional information based on the item clicked on. What I am not sure about
is how to identify which column of the row I have clicked in, is it even
possible.