As I been saying, I want to have my own code control the selection and
moving of items process based on users actions, not Access. Using the
OnTimer Event and TimerInterval property did do what it was expected,
however, I seemed to have opened another can of worms.
Now, for the main issue that I found doing so using both VBA debugging tools
as well as my own debugging methodology, At least with multi-extended
selection mode since that is the mode that I'm wanting to work with. The
Selected Property doesn't seem to work as it was meant to. Here's what I
mean:
If the code assigns the value of 0 or False, it doesn't change the state of
the item. If the item is selected, it stays selected, and if it's not
selected, it stays unselected, unlike the documentation saying that
assigning 0 would deselect it.
Just the opposite is true when assigning the value of -1 or True to the
Selected property of the item. If the item is selected and it gets the
value of -1, it goes to unselected, and if it's unselected and it gets the
value of -1, it goes to selected.
This above is what's taking place while the listbox has the focus unlike
what the documented help page on Selected Property in AC02, SP2, VBA Help
page shows.
I have also done some preliminary testings on the ItemsSelected and it's
count just returns 0 regardless if items are *ACTUALLY* selected or not,
while the mouse events are taking place and even within my code that runs
directly after the Access Selection program takes place. Before my code
does anything to any of the item's Selected Property, every single Selected
Property is 0, which means I will have to fully learn the behavior of the
listbox and the Access Selection program completely, which then control it.
However, that also means, once this bug does get fixed, my code is gonna
have to be changed again. Thankfully though, since I have all of the
associated code in a single class module, that will need to be changed after
the bug correction, I will only have to change it in one place.