2025-01-10 10:15 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/rtl/listbox.prg
* merged #371 from Kamil, thanks for the patch.
Applied minor reformat .NOT. -> ! and added a comment
about buggy ListBox:hitTest() on no-box dropdown in
Cl*pper 5.3.
This commit is contained in:
@@ -7,6 +7,13 @@
|
||||
Entries may not always be in chronological/commit order.
|
||||
See license at the end of file. */
|
||||
|
||||
2025-01-10 10:15 UTC+0100 Aleksander Czajczynski (hb fki.pl)
|
||||
* src/rtl/listbox.prg
|
||||
* merged #371 from Kamil, thanks for the patch.
|
||||
Applied minor reformat .NOT. -> ! and added a comment
|
||||
about buggy ListBox:hitTest() on no-box dropdown in
|
||||
Cl*pper 5.3.
|
||||
|
||||
2025-01-09 12:00 UTC+0100 Kamil Przybylski (kprzybylski quay.pl)
|
||||
* src/rtl/listbox.prg
|
||||
! fixed nTop not being incremented in ListBox:hitTest() for no-box dropdown
|
||||
|
||||
@@ -412,7 +412,10 @@ METHOD hitTest( nMRow, nMCol ) CLASS ListBox
|
||||
nTop++
|
||||
ENDIF
|
||||
|
||||
IF ::lIsOpen .AND. .NOT. Empty( ::cHotBox + ::cColdBox )
|
||||
/* NOTE: Harbour extension over Cl*pper abilities, CLP5.3
|
||||
with mouse support will crash, RTE "Argument Error: +"
|
||||
when a borderless listbox/dropdown is mouse-clicked */
|
||||
IF ::lIsOpen .AND. ! Empty( ::cHotBox + ::cColdBox )
|
||||
|
||||
nOffset := 1
|
||||
DO CASE
|
||||
|
||||
Reference in New Issue
Block a user