Set HTMLText and Get Effective HTMLText

Tore Nilsen tore.nilsen at me.com
Wed May 18 12:28:32 EDT 2022


I would think it is because the htmlText is a property of a field. It is one of the properties that it inherited by any field.  The variable does not have this property.

Best regards
Tore Nilsen

> 18. mai 2022 kl. 18:23 skrev 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
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list