Hi Cannon,

I’ve never done this as imaages used in listboxes have alwasy been just 
pictures.

The reason we can find an svg object (with an id) by id is because there is an 
xml tree to traverse through. So how could you mimic this behavior within a 
cell of a listbox?

Could each listbox cell hold a different svg image with each xml tree 
simulataneously held in memory?

Or

Coudl each svg image when clicked load an the svg xml source and then do a find 
with it? Woudl require the xml source be maintained with the svg image.

It feels like it could be done.

Sorry I cannot be less general.

JOhn...

> You know how you can give SVG elements IDs and then use SVG Find element ID 
> by coordinates during a click or mouse over event to figure out what element 
> the mouse is over in an SVG picture? I’d like to do this, except that the SVG 
> picture is in a list box. In fact, the list box has several of these SVG 
> pictures in different rows and columns. So I need to detect which cell the 
> mouse is over and then which SVG element within the cell the mouse is over.
> 
> There are a lot of pieces to this puzzle, some of which might not work in a 
> list box context. Mainly I’m wondering if anyone has already tried this and 
> proven that it _can’t_ work before I waste time working on it. Or if anyone 
> has gotten it to work, I’d love to know that as well!
> 
> Thanks for any comments.
> 
> --

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to