>Hello Fabio.
>
>
If a your customer asks you to arrange this "gost selection",
>I would be happy for seeing the your solution.>
>Assuming that I understand you correctly,
>
>Try this code in the combo class's MouseDown() to ensure that the "ghost Selection" does not occur (i.e., the value in the combo does not change):
>
>
>IF nButton = 2
> NODEFAULT
>ENDIF
>
>
>Does that work for you? If not, what would you like to happen when the user depresses the right mouse button over the combo and moves it around?
This is possible, but I uses context menu,
and this solution remove the listbutton from the zone available in order to open it.
Not acceptable for my standards of programming.
I have found a workaround, but it require to store a flag,
and i don't love workaround flags ( a source of hidden side bugs ).
>
>Personally, it would never even occur to me to try something like this < s >. How on earth did you discover this behavior? Were you just being creative? Or was it one of your clients that brought it to your attention?
First my rule:
not to use the normal roads that use all, why a lot probably they works.
When i uses this rule, i found tons of bugs;
when I have time or i want a workaround I try to understand them and them public it.
Thanks,
Fabio