Haha! I forget sometimes that everything is just some bit of memory. I keep
thinking for example that if I store values I want in a script local that it
will somehow be much faster than a custom property of an object, but of course
that can only be true if the code for accessing custom propertie
>
> set the HTMLText of VarHTMLText to URL VarURL
>
> Use:
>
> set the HTMLText of the templateField to URL VarURL
>
> And instead of:
>
> get the effective HTMLText of VarHTMLText2
>
> Use:
>
> get the effective HTMLText of the templateField
>
> __
Instead of:
set the HTMLText of VarHTMLText to URL VarURL
Use:
set the HTMLText of the templateField to URL VarURL
And instead of:
get the effective HTMLText of VarHTMLText2
Use:
get the effective HTMLText of the templateField
___
use-livecode
Hi Bob,
That might be what I need, but I’ll have to
look at the resulting code to see if that will work.
Thanks,
Rick
> On May 18, 2022, at 12:43 PM, Bob Sneidar via use-livecode
> wrote:
>
> put URL VarURL into VarHTMLText
___
use-livecode mailin
On 2022-05-18 17:43, Rick Harrison via use-livecode wrote:
I wish it worked with variables though
because execution would be faster.
If variables could manipulate styled text (aka htmlText) then they
wouldn't be any faster than fields ;)
Warmest Regards,
Mark.
--
Mark Waddingham ~ m...@liv
Can't you just
put URL VarURL into VarHTMLText
?
Bob S
> On May 18, 2022, at 09:40 , Rick Harrison via use-livecode
> wrote:
>
> Thanks! It’s a bummer though,
> because variables are much faster.
>
> Rick
>
>> On May 18, 2022, at 12:28 PM, Tore Nilsen via use-livecode
>> wrote:
>>
>>
Hi Klaus,
Thanks for getting back to me on this.
That explains the problem.
I wish it worked with variables though
because execution would be faster.
Oh well, at least it will do for now until we have
the LC 10 compiler which will make it all faster!
Rick
> On May 18, 2022, at 12:29 PM, K
Thanks! It’s a bummer though,
because variables are much faster.
Rick
> On May 18, 2022, at 12:28 PM, Tore Nilsen via use-livecode
> wrote:
>
> 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
If I may add something to this, the reason why the syntax did not throw an
error at compile time is because the compiler does not know whether or not
VarHTMLText is a variable that contains the value "field HTMLTextField1" or the
name of any object to be precise. If it did then it would be valid
x 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
> (T
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
:
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 insig
On 3/14/13 4:53 AM, Monte Goulding wrote:
Er... I can't see htmlText in the list there nor can I see the working
screenRect which also accepts the effective keyword.
I did report it, against the "effective" entry.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive So
ways the problem isn't so much with the docs but actually
> stumbling across the gems that are hidden in them.
>
> On Thu, Mar 14, 2013 at 6:48 AM, J. Landman Gay
> wrote:
>>
>> On 3/13/13 5:36 PM, Monte Goulding wrote:
>>>
>>>
>>> On 1
3 5:36 PM, Monte Goulding wrote:
>>
>>
>> On 14/03/2013, at 9:29 AM, "J. Landman Gay" wrote:
>>
>>> get the effective htmlText of fld 1
>>
>>
>> Nice... for finding it you get the privilege of writing the docs bug report
&g
On 3/13/13 5:36 PM, Monte Goulding wrote:
On 14/03/2013, at 9:29 AM, "J. Landman Gay" wrote:
get the effective htmlText of fld 1
Nice... for finding it you get the privilege of writing the docs bug report ;-)
I knew there'd be a catch. :)
--
Jacqueline Landman Gay
On 14/03/2013, at 9:29 AM, "J. Landman Gay" wrote:
> get the effective htmlText of fld 1
Nice... for finding it you get the privilege of writing the docs bug report ;-)
--
Monte Goulding
M E R Goulding - software development services
mergExt - There's an
I didn't know you could do this:
get the effective htmlText of fld 1
You get everything, all the field settings and inherited fonts and sizes
and colors and all.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software |
18 matches
Mail list logo