|
-
Oct 19th, 2024, 06:04 AM
#3
Thread Starter
Banned
Re: ListView ItemSelectionChanged event issue
 Originally Posted by jmcilhinney
If the problem is with the code you have written then you need to show us that code so we can see what's wrong with it. You need to start by debugging that code to determine EXACTLY where and how its behaviour differs from what you expect.
jmcilhinney: Again, I will NOT post code here. I know what the issue is. In short:
1) When a user selects an item, it runs the ItemSelectionChanged event.
2) This calls my subroutine to adjust the status of the buttons and menus
3) If the user selects more than 1 item, #2 keeps happening for each item selected
I was hoping to solicit some idea how to:
a) maybe get the total number of selected items AT THE ItemSelectionChanged event OR someplace else
b) then I could simply say something like: "if this isn't the last item selected - ignore this call".
I also suspect that I may be loading this listview wrong, but I do not understand how to do this otherwise.
Posting code here would have confused you even more AND you would have had to do what is MY responsibility.
I personally think that this would have been very rude to expect that kind of help.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|