Another "new to List Box person" question; v17r6 Entity Selection List Box. The mandatory requirement is to allow users to navigate down a column using the RETURN and ENTER key. The nice to have would be SHIFT+RETURN and SHIFT+ENTER to navigate up a column as well.
I am successful in getting the RETURN key to work at the bottom of the On Data Change Object event with this code snip: If (Character code(Keystroke)=Return key) LISTBOX GET CELL POSITION(*;"lbQuoteItems";$iColumn;$iRow) Case of : ($iColumn=1) //BIN EDIT ITEM(*;"Column36";$iRow+1) : ($iColumn=2) //Qty EDIT ITEM(*;"Column37";$iRow+1) : ($iColumn=3) //Admin Recommend EDIT ITEM(*;"Column38";$iRow+1) :(etc etc.etc.) End case However this strategy fails miserably for the ENTER key; Character code(Keystroke) returns the last Keystroke in the cell value and not the exit Keystroke (ENTER key). I tried offscreen buttons associated to ENTER with similar code and the navigation functions nicely; but the This. object is null in the Object Method so that won't work. Can someone point me to the documentation or an example as to what the proper methodology is for navigating up and down a Column in an Entity Selection List Box using the RETURN and ENTER key? I can't seem to find it. ********************************************************************** 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] **********************************************************************

