Does anyone know how to use script (LabTalk) to enable/disable "Disable Editing" in "workshee properties -> Format -> Text Control" for "Standard/Data/Column Label/Long Name/Comments" in drop-down list of "apply to", respectively?
I know your answer. "Layer" command can't make change to the check box of "Disable Editing", this may cause coufusions to new origin user. Beside "layer" command, is there any other way to treat worksheet in accordance with my requirement.
There is no simple Labtalk way to control the Disable Editing checkbox in Cell Formatting, or Worksheet Property dialog, even though it can be done using Origin C.
What Greg pointed out is that you may also lock the entire sheet up to prevent editing by simply using the Labtalk command
You can turn the Disable Editing checkbox on and off via script using two theme files and the themeApply2w X-Function. Send an email to tech@originlab with the Subject line Disable Editing Themes and be sure to include your Origin Serial Number in the email.
I've been searching for this for a while. I guess the solution from Greg is the easiest way to do it. I'm pretty new into this thing, so it may take some time for me to figure it out, though. Wish me luck!