Forum > RichMemo
OnMouseDown event
RW1962:
@KodeZwerg
Why did you make me post my code? You haven't acted on it.
Meanwhile, I found a similar issue at... https://forum.lazarus.freepascal.org/index.php?topic=27316.0
They concluded that the "extra mouse buttons work in Windows only, currently"
I don't think that the extra mouse buttons work in Windows.
Rick
KodeZwerg:
--- Quote from: RW1962 on January 26, 2024, 04:06:42 pm ---@KodeZwerg
Why did you make me post my code? You haven't acted on it.
--- End quote ---
I was not able to follow your production code so I had nothing to say.
bytebites:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} --- KeyInput.Press(VK_PRIOR); // must be capital 'A' for 'a' KeyInput.Up(VK_PRIOR);
KeyInput.Press makes KeyInput.Down & KeyInput.Up
now you have key up without key down
RW1962:
@bytebites
Thanks for the input. I have taken the KeyInput.Up out of it. However, that had not impeded any actions. The problem, as I now perceive it, is that mbExtra1 and mbExtra2 are not implemented by the compiler (or maybe, FreePascal).
Yet what I cannot understand is why a mouse PgDn & PgUp had worked for years, and now it does not. That is why I thought it was interference by the Windows operating system.
Rick
Thaddy:
Always use OnMouseUp when in doubt: it fires only once. OnMouseDown Keeps firing and is not usually what you mean or expect if you are a beginner.
Navigation
[0] Message Index
[#] Next page
[*] Previous page