Re: Datagrid deleteline vs deletelines issue

2018-09-10 Thread Bob Sneidar via use-livecode
I've encountered that. I have considered replacing all my singular instances of deleteline with the plural deletelines and then always use the plural version. Problem solved. Bob S > On Sep 9, 2018, at 09:50 , hlowe via use-livecode > wrote: > > The Dictionary states that the command

Re: Datagrid deleteline vs deletelines issue

2018-09-09 Thread hlowe via use-livecode
Thanks Zryip. I have created a bug report: https://quality.livecode.com/show_bug.cgi?id=21576 It would be helpful if there was a support document describing the changes between DG1 and DG2. I wasted a few hours tracking this one down. Henry Ascriva Health Informatics https://www.ascriva.com

Re: Datagrid deleteline vs deletelines issue

2018-09-09 Thread zryip theSlug via use-livecode
Henry, I can confirm, the deleteLine behavior changed in dg2. Inside the dg2 library, deleteLine and deleteLines are different handlers now (deleteLine is managing some animation now according to the comment I've seen in the code). Inside dg1, deleteLine was just calling deleteLines. Same remark

Datagrid deleteline vs deletelines issue

2018-09-09 Thread hlowe via use-livecode
The Dictionary states that the command 'deleteline': "Deletes the specified lines from the data grid. The syntax is: dispatch "DeleteLine" to group "DataGrid" with pLine where pLine is a comma-delimited list of one or more integers, indicating the lines to be deleted. So to delete lines 1,2