Listview Keypress

  • Thread starter Thread starter MattG
  • Start date Start date
M

MattG

Is there any way to change the column that the Listview uses for the
keypress event?
Item 0 is the employee number, Item 1 is the Last name... I want the
keypress to scroll through last name.

Thanks!
Matt
 
Is there any way to change the column that the Listview uses for the
keypress event?
Item 0 is the employee number, Item 1 is the Last name... I want the
keypress to scroll through last name.

Thanks!
Matt

you can intercept the keypress on the host form level (using
Control.ProcessDialogKey() or just setting form.KeyPreview=true) and
checking the keys yourself, and doing all the grunt work in the list view
when needed.
other than that... I don't think so.
 
Back
Top