In Listbox OnMouseUp-Event, value for "button" is always mbLeft (macOS & Linux)
Issue #185
resolved
if one clicks with the right mousebutton on a listbox-entry, than the value for Button is mbLeft (instead of mbRight)
Comments (5)
-
reporter -
The same is still valid (20.06.2021) for MACOS: for TStringGrid: Button has always mbLeft. So if this could be fixed, a fix would be very welcomed…
procedure Tfrm_Main.sgAdressMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Button: Always mbLeft, also when right click was performed
LINUX was fixed in the meantime.
-
- attached RightMouseClick.zip
<div class="preview-container wiki-content"><!-- loaded via ajax --></div> <div class="mask"></div> </div>
</div> </form>
-
In the attachment a demo with the TStringgrid. Click with the left and right mouse on the Stringgrid. On MaCOS there will be only a message for the left click.
-
repo owner - changed status to resolved
Fixed partially at 1.55 (Linux only). No way to fix on Mac-OS
- Log in to comment
That’s the same for TCheckListbox.
That’s also the reason, why no PupUp-menü Pops Up, when a PopUp-Menu is linked to the Listbox / TCheckListbox.
So it would be nice, if that could also be fixed (and this report is also some month old…)