The simplest example of this is the following: 1. you have a text label called "code" which has LT script 2. based on condition, your script will need to delete this label 3. deleting itself will crash, so in that case you put the label delete code with a delayed execution.
Basically Origin will put all delayed execution script into a separate buffer and use the window messaging system to trigger the execution when the system is not busy doing some window thing. The length of this delay is unpredictable but typically very short.
The simplest example of this is the following: 1. you have a text label called "code" which has LT script 2. based on condition, your script will need to delete this label 3. deleting itself will crash, so in that case you put the label delete code with a delayed execution.
Basically Origin will put all delayed execution script into a separate buffer and use the window messaging system to trigger the execution when the system is not busy doing some window thing. The length of this delay is unpredictable but typically very short.
CP
Does this mean, that the delay itself is not a fixed time, but a condition to wait until the object is free and safe to manipulation?
I cannot imagine a rationale for the text label to delete itself. Can you share a test project, please?