I have set up a nice working app. where I use quite a lot of datagrids as lists.
From these datagrids the user can select a record by clicking on it and then gets a screen with all details about that record.
If I set the clicking on 1 click (on mouseUp), I get a problem with the scrollbar.
Everytime I click on the scrollbar to scroll down, the datagrid automatically selects a record, sometimes even giving an error.
I can solve this by choosing "on mouseDoubleUp" in stead of "on mouseUp", but that I find very user unfriendly.
How can this problem be solved?
Thanks
Rob van der Sloot
Datagrid clicking problem
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, asayd
-
- Livecode Opensource Backer
- Posts: 78
- Joined: Sat Apr 17, 2010 9:21 am
Re: Datagrid clicking problem
Code: Select all
on mouseUp
if the short name of the mouseControl is not "dgScrollbar" then
YourCode
end if
end mouseUp
Knowledge is meant to be shared.