Code: Select all
on mouseUp pMouseBtnNum
if pMouseBtnNum is 1 then
set the filename of image "itemPic" of me to "https://gunarama.com/images/th/250/" & tCurrentItemArray[the dgLine of me]["web_pic"] & ".jpg"
end if
end mouseUp
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on mouseUp pMouseBtnNum
if pMouseBtnNum is 1 then
set the filename of image "itemPic" of me to "https://gunarama.com/images/th/250/" & tCurrentItemArray[the dgLine of me]["web_pic"] & ".jpg"
end if
end mouseUp
It appears that when you scroll (and let go of the mouse button) the mouseUp handler is triggered (it shouldn't if it is inside the row template behavior script; it will if it is in datagrid group script).matthellstrom wrote:........... when I scroll up or down, the same image is shown every 5 rows, basically every time a new screen of rows is shown. ........
Code: Select all
scrollLineIntoView pLine