Datagrid behaviour and columns sorting

Bob Sneidar bobsneidar at iotecdigital.com
Thu Mar 5 11:15:21 EST 2026


Did you look at the datagrid library? 

Bob S


> On Mar 4, 2026, at 12:14 PM, jbv via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> OK, but a datagrid can be scrolled without using the scrollbar and without
> pressing the mouse wheel...
> 
> 
> Le 2026-03-04 14:31, Bob Sneidar via use-livecode a écrit :
>> There is always a way. I think you will have to resort to using a trap for the mouse which begins when the mouse is down inside a scrollbar and calls itself repeatedly with a slight wait for x with messages until the mouse is up.
>> Bob S
>>> On Mar 4, 2026, at 11:12 AM, jbv via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> Nope, I have a column that contains only buttons, and when I sort other
>>> columns, I want that column to be sorted accordingly.
>>> But nevermind, I managed to find a solution.
>>> But now I have another question : when scrolling a datagrid with the mouse
>>> wheel, is there a way to detect the exact moment when scolling has stopped ?
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list