Re: nsScriptDatabase (and long id's)

2022-06-30 Thread Bob Sneidar via use-livecode
OIC this is for your library. I didn’t realize that your need was to access objects in projects you didn’t have control of. 😟 Sent from my iPhone > On Jun 30, 2022, at 18:45, Neville Smythe via use-livecode > wrote: > > I have uploaded version 3 of nsScriptDatabase to Sample Stacks, and the

nsScriptDatabase (and long id's)

2022-06-30 Thread Neville Smythe via use-livecode
I have uploaded version 3 of nsScriptDatabase to Sample Stacks, and the standalones are at https://www.dropbox.com/sh/6z4yuw55rnvub3t/AAB3jJ9yO4l2zCOoDq1uO7L2a?dl=0 This version addresses the issues with groups caused by my misplaced expectations raised in the thread about long id’s of grouped

Re: sorting datagrids

2022-06-30 Thread Bob Sneidar via use-livecode
Or are you talking about sorting the DATA of a datagrid? put the dgText of group "myDataGrid" into tText set the itemDelimiter to tab repeat with i = 1 to the number of lines of tText put item i of tText into tLine sort items of tLine ascending put tLine into line i of tText end repeat

Re: sorting datagrids

2022-06-30 Thread Bob Sneidar via use-livecode
Sure there is! put the dgProp ["columns"] of group myDatagrid into tGridColumns sort tGridColumns ascending set the dgProp ["columns"] of group myDataGrid to tGridColumns I would store the original sort order first though so you can recover. Bob S > On Jun 30, 2022, at 15:59 , Hershel F via

sorting datagrids

2022-06-30 Thread Hershel F via use-livecode
Hi all, is there any way of sorting a data grid horizontally? thanks a mill. ___ 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/ma