Set HTMLText and Get Effective HTMLText

Klaus major-k klaus at major-k.de
Wed May 18 12:29:27 EDT 2022


Hi Rick,

> Am 18.05.2022 um 18:23 schrieb Rick Harrison via use-livecode <use-livecode at lists.runrev.com>:
> 
> This works:
> set the HTMLText of field "HTMLTextField1" of this card to URL VarURL
> 
> This doesn’t work:
> set the HTMLText of VarHTMLText to URL VarURL
> (The syntax is accepted fine, but it throws the following error at execution time.)
> Chunk: error in object expression
> 
> This works:
> get the effective HTMLText of field "HTMLTextField1" of this card
> 
> This doesn’t work:
> get the effective HTMLText of VarHTMLText2
> (The syntax is accepted fine, but it throws the following error at execution time.)
> Chunk: error in object expression
> 
> Why?
> Thanks for your insight in advance!
> 
> Rick

HTMLTEXT is a property of FIELDS, variables do not have this!
Presumed VarHTMLText is a variable.


Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list