I'm using this script in a data grid. It works fine unless I click the scroll bar of the field before clicking a row of text. Is there a way to prevent this like I capture the dgHeaderControl in line 5?
global grStackName
on mouseDown pMouseBtnNum
dgMouseDown pMouseBtnNum
if pMouseBtnNum is 1 then
if the dgHeaderControl of the target is empty then
put GetDataOfIndex(the dgHilitedIndexes of me, "StackName") into grStackName
end if
end if
end mouseDown
DataGrid mouseDown on scroll bar problem
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
DataGrid mouseDown on scroll bar problem
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14