When I build the SVG I *optionally* associate a call-back method name in a custom SVG attribute. When On Mouse Move, On Click, On Double Click etc., if there is a custom call-back attribute, I execute method.
I can always be contacted in private for more info: www.4d.dorrance.eu On Tue, Oct 3, 2017 at 7:33 PM, Tom DeMeo via 4D_Tech <[email protected]> wrote: > Hi Jim > > > Could you please explain a bit further how you get from attributes to > event callbacks? Do you capture an event on the SVG area and scan all its > element attributes? > > I took a look at the Projects page you mentioned but those are screen > shots. > > > > Tom > > > ------------------------------ > > > > Message: 4 > > Date: Tue, 3 Oct 2017 08:25:10 +0200 > > From: Jim Dorrance <[email protected]> > > To: 4D iNug Technical <[email protected]> > > Subject: Re: Canvas alternative > > Message-ID: > > <[email protected]. > com> > > Content-Type: text/plain; charset="UTF-8" > > > > I regularly implement call-back events by creating custom attributes in > > SVG. The associated 4D methods are then executed either in the host > > database or in the component. You can see some interface possibilities on > > my website: www.dorrance.eu in the section:"Projects". > > > >> > >> -- > > Jim Dorrance > > [email protected] > > [email protected] > > www.4d.dorrance.eu > > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** > -- Jim Dorrance [email protected] [email protected] www.4d.dorrance.eu PS: If you know of anyone that needs an experienced 4D programmer to add energy and experience to their team, please let me know. I have experience in many areas. Reasonable rates. Remote or Paris only. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

