if the listbox is single-select, you can use LISTBOX GET CELL POSITION to get 
the row number,
then check that the "current item" is not Null to verify whether the current 
row was selected or unselected.
(remember, you can unselect a row by shift-click or command click)

although collection-type listboxes offer 3 automated properties (current item, 
position, selection)
I find that it is often easier to use only the "current item" object and leave 
the other two blank.
using the current position or selection property often defeats selection by 
code,
commands such as LISTBOX SELECT ROW.

you'd need a different setup for a multi-select listbox.

> 2020/01/21 17:29、Jeremy Roussak via 4D_Tech <[email protected]>のメール:
> Yet again, if this is obvious, please excuse me: this is my first project 
> using only ORDA. 4Dv18.




**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to