set the text of line 4 of field id 123?

David Bovill david.bovill at gmail.com
Fri Jan 2 13:22:38 EST 2009


Lost in translation :)

"newLine" here is just a (probably bad choice for a variable name. The issue
is not "how" to do it - it's just that it is naturla syntax to try to "set
the text of line x of field..." and I think you should be able to use it.

2009/1/2 J. Landman Gay <jacque at hyperactivesw.com>

> David Bovill wrote:
>
>  I guess I could use set the htmltext of line 1 of field even if using
>> plain
>> text - but I think it is just plain counter intuitive as it is - good to
>> see
>> the docs are explicit though :)
>>
>
> What I think you want is:
>
>  put cr into line lineNum of field id fieldID
>
> Or you can probably use the "newline" constant instead.
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list