Re: Is it possible to put a SVG file directly on a form?

2017-09-26 Thread Peter Bozek via 4D_Tech
On Mon, Sep 25, 2017 at 12:51 AM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > or does it have to be converted to a picture? > > > > No, you can use SVG file as any other picture file (say PNG.) No need to manipulate it in 4D, though you can. -- Peter Bozek **

Re: Is it possible to put a SVG file directly on a form?

2017-09-26 Thread Jim Dorrance via 4D_Tech
I just dragged an xmlns.svg file on a form as a background picture, displayed the form and re-sized it. It scaled perfectly. Then I created a picture button on the form, selected 'file' as the source, and dragged an xmlns.svg file onto the button.It also scaled perfectly. Jim -- Jim Dorrance jim

Re: Is it possible to put a SVG file directly on a form?

2017-09-25 Thread Kirk Brooks via 4D_Tech
Hi Jim, Thanks for the reply. I recall some discussion a while ago when I was having issues with text resolution in SVG I was creating and then rendering into pics. Someone (Miyako?) mentioned placing the file directly on the form. The thing I wanted was to preserver the 'scalable' part of the SVG.

Re: Is it possible to put a SVG file directly on a form?

2017-09-25 Thread Jeremy French via 4D_Tech
Kirk, Have you tried: 1) Place SVG file in database’s “Resources” folder. 2) Restart 4D. 3) Locate SVG file in "Design -> Tool Box -> Resources". 4) Drag SVG from the Tool Box’s "Resources” window to the form. 5) Resize SVG as needed. Note the Property Inspector’s “Name/ID” attribute records th

Re: Is it possible to put a SVG file directly on a form?

2017-09-25 Thread John Baughman via 4D_Tech
The only way to display the SVG in a form that I know of is in a picture variable or field. Using SVG_Export_To_picture, store the SVG in a picture field or variable and display it on the form. I store the SVG in a field. On a form I retrieve the SVG from the picture field with SVG_Open_pictu

Re: Is it possible to put a SVG file directly on a form?

2017-09-24 Thread Jim Dorrance via 4D_Tech
Of course you can display the source in a text variable (either visible or invisible) on a form if you need to save the SVG temporarily. What are you trying to do? On Mon, Sep 25, 2017 at 12:51 AM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > or does it have to be converted to a pictu

Is it possible to put a SVG file directly on a form?

2017-09-24 Thread Kirk Brooks via 4D_Tech
or does it have to be converted to a picture? -- Kirk Brooks San Francisco, CA === *The only thing necessary for the triumph of evil is for good men to do nothing.* *- Edmund Burke* ** 4D Internet Users Grou