Anyone ever want to have data grid table selections toggle without making the user hold the shift key down?
on selectionChanged theSelectedItem put the savedHilitedLines of me into theHilitedLines if theSelectedItem is among the items of theHilitedLines then set wholeMatches to true put itemOffset(theSelectedItem, theHilitedLines) into theFoundItem delete item theFoundItem of theHilitedLines set the dgHilitedLines of me to theHilitedLines end if set the savedHilitedLines of me to the dgHilitedLines of me end selectionChanged Bob S _______________________________________________ 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