G
Guest
Hi,
I have a ListView in my Pocket PC application that contains several columns
and performs two major functions:
1. If the user selects a row, he/she is taken to a details screen with more
information about the selection.
2. If the user performs a tap-and-hold over one of the rows, a context menu
is supposed to display giving the user more options.
I have a SelectedIndexChanged event handler in my form that is handling case
#1. I also have a ContextMenu that is coupled with the ListView with a few
options to handle case #2. When I have the SelectedIndexChanged event
handler active, that logic works, however I am unable to perform a
tap-and-hold over top of a row in the ListView. The SelectedIndexChanged
handler logic fires. When I comment out the SelectedIndexChange handler
logic, the tap-and-hold support works.
It seems like you can only have one or the other. Any ideas?
I have a ListView in my Pocket PC application that contains several columns
and performs two major functions:
1. If the user selects a row, he/she is taken to a details screen with more
information about the selection.
2. If the user performs a tap-and-hold over one of the rows, a context menu
is supposed to display giving the user more options.
I have a SelectedIndexChanged event handler in my form that is handling case
#1. I also have a ContextMenu that is coupled with the ListView with a few
options to handle case #2. When I have the SelectedIndexChanged event
handler active, that logic works, however I am unable to perform a
tap-and-hold over top of a row in the ListView. The SelectedIndexChanged
handler logic fires. When I comment out the SelectedIndexChange handler
logic, the tap-and-hold support works.
It seems like you can only have one or the other. Any ideas?