C
Christine
I am trying to detect which column the user clicked in a list box and
am able to do so when the listbox has not been horizontally scrolled.
I use the listbox columnwidths and the X to determine the column.
However, when the listbox is scrolled over to rightmost columns, then
my calculations do not work because the X is relative to the listbox
window. Is there some property I can access to tell me either how many
columns or how many pixels over the listbox is scrolled?
I have seen some mention of 'Scroll Thumb' in some posts but cannot
find anything in Access documentation on this. I suspect I need to use
some kind of Api call on the window, but do not know how.
Thanks in advance,
Christine
am able to do so when the listbox has not been horizontally scrolled.
I use the listbox columnwidths and the X to determine the column.
However, when the listbox is scrolled over to rightmost columns, then
my calculations do not work because the X is relative to the listbox
window. Is there some property I can access to tell me either how many
columns or how many pixels over the listbox is scrolled?
I have seen some mention of 'Scroll Thumb' in some posts but cannot
find anything in Access documentation on this. I suspect I need to use
some kind of Api call on the window, but do not know how.
Thanks in advance,
Christine