Re: HOw to get htmltext from the field to display in another field

2020-09-21 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > Vedas > A Random Selection > of Sutras > > gets turned around. It becomes > > Vedas > A Random Selection > of Sutras > > ?? where does the font size becomes "34" . HtmlText is not HTML. It was added to the engine as a convenient way to use HTML-like

Re: HOw to get htmltext from the field to display in another field

2020-09-21 Thread Paul Hibbert via use-livecode
> On 21Sep, 2020, at 10:55, Sannyasin Brahmanathaswami via use-livecode > wrote: > > ?? where does the font size becomes "34" . Even with the font size of field > increases, it stays at size="34”?? I would say from the h1 attribute that sets the text as a heading, h1 being the largest size.

Re: HOw to get htmltext from the field to display in another field

2020-09-21 Thread Sannyasin Brahmanathaswami via use-livecode
I found it: button "Check HTML" on mouseUp If "" is in field "mainText" then -- htmltext is there set the htmlText of field "mainText" to field "mainText" else put the htmltext of field "mainText" into field "mainText" end if end mouse BUT! Vedas A Random Selection of

Re: HOw to get htmltext from the field to display in another field

2020-09-20 Thread J. Landman Gay via use-livecode
On 9/20/20 3:20 PM, Mark Wieder via use-livecode wrote: On 9/20/20 1:10 PM, J. Landman Gay via use-livecode wrote: As an aside, I first thought that this would work:    if the htmltext of field "mainText" <> the text of field "mainText" then -- plain text is in the field which does return

Re: HOw to get htmltext from the field to display in another field

2020-09-20 Thread Mark Wieder via use-livecode
On 9/20/20 1:10 PM, J. Landman Gay via use-livecode wrote: As an aside, I first thought that this would work:   if the htmltext of field "mainText" <> the text of field "mainText" then -- plain text is in the field which does return "false" correctly. But when I set the text of the field

Re: HOw to get htmltext from the field to display in another field

2020-09-20 Thread J. Landman Gay via use-livecode
On 9/20/20 10:55 AM, Mark Wieder via use-livecode wrote: On 9/20/20 7:28 AM, Sannyasin Brahmanathaswami via use-livecode wrote: Eureka! So easy, now to get back to the htmlText as per the code if the htmlText of field "mainText"  then    put the htmlText of field "mainText" into field

Re: HOw to get htmltext from the field to display in another field

2020-09-20 Thread J. Landman Gay via use-livecode
On 9/20/20 9:28 AM, Sannyasin Brahmanathaswami via use-livecode wrote: Eureka! So easy, now to get back to the htmlText as per the code if the htmlText of field "mainText" then put the htmlText of field "mainText" into field "mainText" else set the htmlText of field

Re: HOw to get htmltext from the field to display in another field

2020-09-20 Thread Mark Wieder via use-livecode
On 9/20/20 7:28 AM, Sannyasin Brahmanathaswami via use-livecode wrote: Eureka! So easy, now to get back to the htmlText as per the code if the htmlText of field "mainText" then put the htmlText of field "mainText" into field "mainText" else set the htmlText of field

Re: HOw to get htmltext from the field to display in another field

2020-09-20 Thread Sannyasin Brahmanathaswami via use-livecode
Eureka! So easy, now to get back to the htmlText as per the code if the htmlText of field "mainText" then put the htmlText of field "mainText" into field "mainText" else set the htmlText of field "mainText" to field "mainText" end if we wonder how easy it to tell that "if" the

Re: HOw to get htmltext from the field to display in another field

2020-09-17 Thread Peter Bogdanoff via use-livecode
If the field “Src" contains: My Trek to Siva Magical Abodes Join the author on a tour of ancient Siva temples then: set the htmlText of field "Src" to field "Src" will show HTML-formatted text. Peter > On Sep 17, 2020, at 5:41 PM, Sannyasin Brahmanathaswami via use-livecode >

Re: HOw to get htmltext from the field to display in another field

2020-09-17 Thread Mark Wieder via use-livecode
On 9/17/20 5:41 PM, Sannyasin Brahmanathaswami via use-livecode wrote: Ralph, So this did not work. I have [ fld "Src" ] My Trek to Siva Magical Abodes Join the author on a tour of ancient Siva temples -- [ fld "Dest" ] My Trek to Siva Magical Abodes Join the author on a tour

Re: HOw to get htmltext from the field to display in another field

2020-09-17 Thread Sannyasin Brahmanathaswami via use-livecode
Ralph, So this did not work. I have [ fld "Src" ] My Trek to Siva Magical Abodes Join the author on a tour of ancient Siva temples -- [ fld "Dest" ] My Trek to Siva Magical Abodes Join the author on a tour of ancient Siva temples --- It same for both fields. Neither one

Re: HOw to get htmltext from the field to display in another field

2020-09-17 Thread Paul Dupuis via use-livecode
OR set the text of fld "Dest" to the htmText of fld "Src" IF you want to see what the htmlText (i.e. the tags) of fld "Src"actually is. On 9/17/2020 3:31 PM, Ralph DiMola via use-livecode wrote: BR, set the htmltext of fld "Dest" to the htmlText of fld "Src" Ralph DiMola IT Director

RE: HOw to get htmltext from the field to display in another field

2020-09-17 Thread Ralph DiMola via use-livecode
BR, set the htmltext of fld "Dest" to the htmlText of fld "Src" Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami via use-livecode