On Sun, Nov 6, 2011 at 1:06 AM, Pete <p...@mollysrevenge.com> wrote: > The selectionChanged message sent to the datagrid has two parameters: the > index of the line just clicked and the index of the line that was selected > before the click. I'm not sure what you mean by "deselect" but if you mean > go back to the previously highlighted line, you can use the second > parameter to do that
Another solution is to use the dgClickLine or dgClickIndex properties of the datagrid group: For a try, place this handler in the datagrid group script: on mouseUp put the dgClickIndex of me end mouseUp > If you mean you just don't want any line to be selected, you can set the > dghilitedline to zero (or maybe it's empty, can't remember which). The both syntaxes are working: set the dghilitedline of me to 0 set the dghilitedline of me to empty Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.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