On Jul 27, 2004, at 12:43 PM, Chipp Walters wrote:

I seem to remember I couldn't get 'linkClicked' to work with listBehavior to true. That's why I can to invent my own work around for XMLtree.


Another way to consider doing it is to

put the htmlText of line (the hilitedLine of fld xyz) of fld xyz into tHTML
if "<img src=down.gif/>" is in tHTML then
doExpandMe
else
doAnotherThing
end if


This way you just check to see what icon is being displayed and act on it.

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?


This method wouldn't provide the toggled state of the outline like checking for the current image would, but I may end up storing that property as an attribute of each line anyway.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to