linkClicked not sent for fields with listbehavior=true

Trevor DeVore lists at mangomultimedia.com
Tue Jul 27 14:06:52 EDT 2004


Hello list,

I have a field that mimics an outline program.  The listBehavior is set 
to true and I am populating the field with htmlText.  Lines that can be 
expanded/contracted have an arrow graphic that is enclosed in <a></a> 
tags.  If the image appears as the first item in the line then the 
linkClicked message is sent:

<p><a href=Hi><img src=arrow_expanded></a>My Topic</p>

If the image does not appear as the first item then the linkClicked 
message is never sent:

<p>    <a href=WhyOhWhy><img src=arrow_expanded></a>My Poor Topic</p>

The behavior is the same whether the link surrounds an image or text.  
If I set the listBehavior to false then all linkClicked messages are 
received properly.

I am building this in the beta so I thought maybe it was a bug in the 
beta but when I opened it in 2.2.1 the program actually crashes on 
occasion when I click on the graphic.

Has anybody else seen this and know of a workaround?  I did a quick 
search in BugZilla but didn't see anything related to linkClicked or 
htmlText.  I will make an entry.


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the use-livecode mailing list