Datagrid behaviour and columns sorting

jbv at mozik.fr jbv at mozik.fr
Wed Mar 4 15:14:19 EST 2026


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 ?
>> 
>> 


More information about the use-livecode mailing list