welcome to the forum!
Well, I do not see any code except: select all ?I found a response from dunbarx on a mailing list, but it gives me an error:
CODE: SELECT ALL
All created objects in LC are dervied from a "template".
so you need to set the neccessary properties for -> the templatefield
and THEN create a field, something like:
Code: Select all
...
## visible = true by default, no need to set this explicitely
set the locktext of the templatefield to true
## (field content cannot be edited)
## You can set the content set the content:
set the text of the templatefield to "Hi Ricky!"
set the hscrollbar of the templatefield to false
set the vscrollbar of the templatefield to false
set the showborder of the templatefield to false
## etc... for loc, width, height, textalign... set whatever you need
## NOW create the field:
create field
## After creation:
## Good style and will avoid surprises
RESET the templatefield
...
Klaus