John, I find textAreas easier to work with for those purposes. The only drawback is that the textArea is not supported by some browsers. I'll see some documents appear without their text in Safari when textArea is being used.
Keith - CDI > On Feb 28, 2020, at 10:18 AM, John J Foster via 4D_Tech > <[email protected]> wrote: > > Hi All, > > 4D v17 (mac and windows) > > In my current need I have been creating text by looping though an array and > then creating each text line individually and placing each new line below the > one previously created. This works fine. > > But there are scenarios where I would be easier to manage a series of text as > a single object (SVG_New_textArea OR SVG_New_tspan) and then place it > centered horizontally/vertically at a point on the doc. > > For example placing centered lines of text within a circle and having it > perfectly centered both horizontally and vertically. > > Before I rewrite code I’d like to make sure that I am conceiving the problem > correctly. And then using the correct SVG command. > > Anyone with experience who has used SVG_New_textArea OR SVG_New_tspan? Are > they the “ideal" way to move forward? > > Thanks, > John… > > > > ********************************************************************** > 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] > ********************************************************************** ********************************************************************** 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] **********************************************************************

