How to create a new label field programmatically?
Posted: Tue Dec 18, 2018 3:33 pm
Hi all,
I found a response from dunbarx on a mailing list, but it gives me an error:
I have also looked at the Scripting Conference "Controls" of Klaus Major and I do not have it completely clear if it is necessary to do it property by property. I would like something easier and Klaus knows it but does not explain it
Carles
I found a response from dunbarx on a mailing list, but it gives me an error:
Code: Select all
Set up the templateField as a label field
Error description: set: no property specified

Thanks in advance,e.g. when you select the "Label" field tool, the following properties are already set for a "normal" field:
visible = true
locktext = true
##(field content cannot be edited)
hscrollbar = false
vscrollbar = false
showborder = false
etc...
Carles