Hi Pete, in a field with tab-delimited data that is editable this works for me provided that there is an additional tab before the returns. I.e.:
data tab data tab return data tab data tab return otherwise it will omit the last item of a line and jump to the first item of the next line. ----------------------------- on tabKey set the itemDelimiter to tab put the selectedChunk into tSelect put the number of items of char 1 to (word 2 of tSelect) of me into tItemNo if the shiftKey is down then select after item tItemNo - 1 of me else select after item tItemNo + 1 of me end if end tabKey ----------------------------- I not entirely sure that I got what you want, since a scrolling list field always selects the entire line. In an editable scrollilng field with tab delimited data above code would work. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Shift-tab-tp4681722p4681742.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode