linkClicked not sent for fields with listbehavior=true
Sarah Reichelt
sarahr at genesearch.com.au
Tue Jul 27 23:34:54 EDT 2004
On 28 Jul 2004, at 6:05 am, Trevor DeVore wrote:
> Thanks Chipp. I noticed another possibility is to use charToNum().
> In looking for a workaround I found that chartoNum(clickChar()) = "32"
> when I click on an image. I've tested on OS X.3 and Windows XP with
> the same results using two different images. Anybody know if I can
> rely on this value for determining if an image was clicked?
>
You could only rely on it if you were sure there were no other spaces
in the field except those that had been replaced by images. ASCII 32 is
space, so clicking on any space will give the same result.
Cheers,
Sarah
More information about the use-livecode
mailing list