Trying to understand the inner workings of Resizestack

Scott Rossi scott at
Mon Mar 14 16:50:13 EDT 2016

If you're using LiveCode 7, the flashing may be an artifact that occurs
purely from redrawing/refreshing the screen.  I've noticed this here, but
don't have any reliable recipe that causes it.

In any event, locking the screen and locking messages are the main steps
to take, making sure to unlock at the end of your resizing handlers.
Groups (assuming your chart is a group) have a lockUpdates property that
might help with redrawing, but I don't know if this would make any
difference with regards to screen flashing.


Scott Rossi
Creative Director
Tactile Media, UX/UI Design

On 3/14/16, 10:34 AM, "use-livecode on behalf of Terence Heaford"
<use-livecode-bounces at on behalf of t.heaford at>

>> On 14 Mar 2016, at 16:59, Richard Gaskin <ambassador at>
>> on resizeControl
>>   refreshChart
>> end resizeControl
>Obviously, this works but does not cure the occasional flash that occurs
>when reproducing the chart.
>I suspect perhaps the script along with all the resizeControl messages is
>making it difficult for the engine to keep up?
>I can¹t think of another reason. I am sure the script could be optimised.
>Could anyone suggest areas that are particularly time consuming that I
>could look at that may improve performance.
>I am already using lock messages.
>use-livecode mailing list
>use-livecode at
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:

More information about the Use-livecode mailing list