On Thu, Oct 27, 2011 at 5:43 PM, Felipe Monteiro de Carvalho <
[email protected]> wrote:

> 2011/10/27 zeljko <[email protected]>:
> > Now I don't understand. That change was maded for delphi compatibility or
> > not ? VTV had State in that message and checked it. Ok, it checked for
> shift
> > or ctrl, so easy to exchange with Button.
>
> TLMMouseEvent does not exist in Delphi AFAIK
>
>

Just looked, the original had
TBaseVirtualTree.CMMouseWheel(var Message: TCMMouseWheel);message
CM_MOUSEWHEEL;

TCMMouseWheel of Delphi has ...ShiftState: TShiftState;

looking at TLMMouseEvent, shift is last (ShiftState in delphi is not) so
probably the one who ported it, also added the field to the lazarus record
just for this case. If so, I agree this is a good change to remove field
added previously just for one particular component. Maybe Luiz later will
add some details.

Max
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to