You can override everything about the datagrid. Copy the behavior script to a 
button in your own stack:
set the behavior of button "myBehaviorButton" to the script of the behavior of 
group "dgMyDataGrid"

Then set the behavior of your datagrid to the new button:
set the behavior of group "dgMyDataGrid" to the long ID of button 
"myBehaviorButton"

Now you can make the datagrid pop up grumpy messages every time you sort like, 
"I'm not in the mood." or "You sure are bossy!" if you like. :-)

Bob


On Aug 16, 2011, at 8:14 AM, Trevor DeVore wrote:

>> Also, why can't we override the sorting routines?
>> 
> 
> You can.


_______________________________________________
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

Reply via email to