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:
@@ -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