[Lazarus] TScrollBox.OnMouseUp does not fire correctly on Windows

Torsten Bonde Christiansen tc at epidata.dk
Tue Jul 12 14:19:50 CEST 2011


To Lazarus developers.

Please note that I've updated this issue and create a patch and put it 
on the bug tracker.

Kind regards,
Torsten Bonde Christiansen.


On 2011-07-11 14:45, Torsten Bonde Christiansen wrote:
> Created bugreport:
>
> http://bugs.freepascal.org/view.php?id=19712
>
> On 2011-07-11 13:32, Torsten Bonde Christiansen wrote:
>> Hi List.
>>
>> As I'm not 100% sure how mouse events are handled in Lazarus, this 
>> may be a dumb question so please bear with me.
>>
>> It seems as if a TScrollBox does not fire a OnMouseUp event (only in 
>> windows) when the mouse down was performed on the control,
>> but mouse up is done elsewhere (eg. outside the current window/form).
>>
>> The same work fine for TPanel, TGroupBox, etc. Even using a 
>> TScrollBox in Linux and doing the same click work fine, so this
>> seems to be isolated to windows only.
>>
>> I am using:
>> Lazarus 0.9.31 r31668 FPC 2.4.2 i386-win32-win32/win64
>>
>> and
>> Lazarus 0.9.31 r31578M FPC 2.4.2 x86_64-linux-gtk 2
>>
>>
>> Is this a bug, which I guess it is since the TScrollBox work as I 
>> expect it to on Linux with GTK2?
>>
>> Kind regards,
>> Torsten Bonde Christiansen.
>>
>>
>>
>


-- 
Our Program who art in Memory, Hello be Thy Name.
Thy Operating System come, Thy Commands be done,
at the Printer as it is on the Screen.

Give us this day our daily Data, and forgive us our I/O Errors as we forgive those whose Logic Circuits are faulty. Lead us not into frustration, and deliver us from Power Surges,

for Thine is the Algorithm, the Application, and the Solution, looping forever and ever.

Return.





More information about the Lazarus mailing list