1 person found this helpful
Create a (empty, readonly, no fillcolor) text field with stroke properties settled to "underlined" and name it "strikeout".
Then use right-clic : Create multiple copy to get several fields with a consistent naming (.0, .1, .2, etc.).
this.getField("strikeout").display = display.visible;
this.getField("strikeout").display = display.hidden;
I agree, terminology. As long as you look for information on Java you won't find anything useful.
Thanks for the reply. That is almost identical to what I was using (I was using an string of Underscore instead of the Stroke Property Underlined - which I cannot find) but I still get the following error.
Exception in line 1 of function top_level, script Field:Mouse Up
To me it sounds like there is some setting I have not set.
Thanks for your help.
2 people found this helpful
JS is case-sensitive. The name of the function you're trying to use is getField, not getfield ...
Thanks try67. Although JR_Boulay did give the correct answer I already have tried that code. Being a VB programmer I was not aware that commands were case sensitive.
So thank you to both of you.
In future I will paste my code for scrutiny.