R
Ronald Dodge
Using AC02, SP2 on W2K Pro, SP4
Is there a way to prevent Access from running it's selection program on the
list box that the mouse events takes place on?
I have attempted to use the MouseDown event to determine which items are
selected and which are not, but then Access runs it's selection program
*AFTER* the MouseDown Event has ran.
Changing the Button/Shift numbers in the code has no impact either.
The main thing I'm attempting to do is add in a Drag and Drop type feature
of which I have looked at Leban's example, which works okay for single
items, but I'm wanting to create this feature to allow for selection of
multiple items in Multi-Extended Selection mode.
Given what appears to be as a bug of Selected Property on the items of a
listbox not being set as the mouse events are taking place, when listboxes
are in Multi-Extended Selection mode, I have started the creation of my own
set of code to determine what gets selected and what doesn't. So far, of
what I have done up to this point, which deals with manipulating a list in
string type format, it has been working properly.
The only other thing that I can think of doing to get around this issue is
to use Excel's OnTime function to run the MouseDown procedure immediately
after the MouseDown Event has taken place. I don't like coding like this
cause too many things can happen, if not used with care.
Is there a way to prevent Access from running it's selection program on the
list box that the mouse events takes place on?
I have attempted to use the MouseDown event to determine which items are
selected and which are not, but then Access runs it's selection program
*AFTER* the MouseDown Event has ran.
Changing the Button/Shift numbers in the code has no impact either.
The main thing I'm attempting to do is add in a Drag and Drop type feature
of which I have looked at Leban's example, which works okay for single
items, but I'm wanting to create this feature to allow for selection of
multiple items in Multi-Extended Selection mode.
Given what appears to be as a bug of Selected Property on the items of a
listbox not being set as the mouse events are taking place, when listboxes
are in Multi-Extended Selection mode, I have started the creation of my own
set of code to determine what gets selected and what doesn't. So far, of
what I have done up to this point, which deals with manipulating a list in
string type format, it has been working properly.
The only other thing that I can think of doing to get around this issue is
to use Excel's OnTime function to run the MouseDown procedure immediately
after the MouseDown Event has taken place. I don't like coding like this
cause too many things can happen, if not used with care.