I have some code in a LB’s MouseUp Event
me.InvalidateCell(-1, -1)
There’s also code is in CellClick. But the event (CellClick) does not trigger at all. Is it as expected ?
PS: I should add that there’s a return true on MouseDown
I have some code in a LB’s MouseUp Event
me.InvalidateCell(-1, -1)
There’s also code is in CellClick. But the event (CellClick) does not trigger at all. Is it as expected ?
PS: I should add that there’s a return true on MouseDown
I think you must have Return True in MouseDown
I did
yes it is strange
I have made at short Test (Xojo 2016R4.1 Linux)
Return true in MouseDown = CellClick does not fire, Change does not fire - (fires MouseDown and MouseUp)
Return true in CellClick = MouseUp does not fire, Change does not fire - (fires MouseDown and CellClick)
Return true in MouseDown AND Return true in CellClick = fires MouseDown and MouseUp
No Return True in MouseDown and no Return True in CellClick fires:
MouseDown
CellClick
Change
maybe this is how it was designed… that was my original question
Makes sense. If you return true in a button’s mousedown, , Action won’t fire either.