Trying to understand the inner workings of Resizestack
t.heaford at icloud.com
Mon Mar 14 15:48:49 EDT 2016
Also just tried hide this stack and show this stack and the whole stack window flashes instead of just the group.
Could we now be talking a bug?
> On 14 Mar 2016, at 19:43, Terence Heaford <t.heaford at icloud.com> wrote:
>> On 14 Mar 2016, at 19:17, Mark Wieder <mwieder at ahsoftware.net> wrote:
>> On 03/14/2016 12:09 PM, Terence Heaford wrote:
>>> I think perhaps I am asking to much of the engine as when resizeControl is received I don’t actually reposition/resize all the objects in the chart (90+), I actually delete the objects and recreate the chart.
>> Ah. In that case, try locking the screen, moving the stack off screen (say to -5000,-5000), recreate the graph, move the stack back into its original location, and unlock the screen.
>> Mark Wieder
>> ahsoftware at gmail.com
> Thanks for the suggestion tried this without success:
> on drawBarChart
> lock screen
> lock messages
> put the topLeft of this stack into tTopLeft
> set the topLeft of this stack to -5000,-5000
> set the charts["chartType"] of me to "bar"
> if the charts["data"] of me is not empty then
> end if
> set the topLeft of this stack to tTopLeft
> unlock messages
> unlock screen
> end drawBarChart
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode