H
Henry
I have a listBox on my form. When the listBox has focus I want to respond
to certain keyboard shortcuts like Ctrl+A that is used to select all
contents as in Word, but I want to apply this to the Items collection of the
listBox.
I am not exactly sure how I can go about this.... I suspect I would add
code to the KeyPress event of the listBox, but that is about as far as I
have gotten so far.
The EventArguments e will have the data, but I don't know what objects I
will need to create, etc.
Can somebody give me guidance?
to certain keyboard shortcuts like Ctrl+A that is used to select all
contents as in Word, but I want to apply this to the Items collection of the
listBox.
I am not exactly sure how I can go about this.... I suspect I would add
code to the KeyPress event of the listBox, but that is about as far as I
have gotten so far.
The EventArguments e will have the data, but I don't know what objects I
will need to create, etc.
Can somebody give me guidance?