Error clicking on image
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Error clicking on image
I am using clickfield() and this works perfectly on a text field.
However I can't find a way of preventing an error if clicked on an image.
on mouseDoubleDown
#if clickfield() not empty then
put field clickfield() into Field "expanded" on card CardExpanded
go to card CardExpanded
#end if
end mouseDoubleDown
However I can't find a way of preventing an error if clicked on an image.
on mouseDoubleDown
#if clickfield() not empty then
put field clickfield() into Field "expanded" on card CardExpanded
go to card CardExpanded
#end if
end mouseDoubleDown
Re: Error clicking on image
Hi user606,
just check the NAME of the target:
Best
Klaus
just check the NAME of the target:
Code: Select all
on mouseDoubleDown
if the name of the target begins with "field" then
## Always QUOTE names!
put field clickfield() into Field "expanded" OF card "CardExpanded"
go to card "CardExpanded"
end if
end mouseDoubleDown
Klaus
Re: Error clicking on image
Thank you again. I hate bothering you/forum, but these pitfalls don't seem to be obvious.
Re: Error clicking on image
Come on, you are really not bothering me and/or the forum!
Re: Error clicking on image
It takes a lot to bother Klaus, and the forum in general. Lucky for you they put up with ME first so I have smoothed the way for you
Re: Error clicking on image
bogs wrote:It takes a lot to bother Klaus, and the forum in general. Lucky for you they put up with ME first so I have smoothed the way for you
Re: Error clicking on image
Thanks all!