DHello,

I have a question regarding the Workspace when you execute code from there.

Let me show with an example:

I want to execute code instantiating an empty DrGeo sketch (a morph)
then create programmatically content:


|canvas|
canvas := DrGeoCanvas new.
canvas segment: 5@4 to: 10@20.
canvas vector: 0@0 to: 2@2.
...

The line with DrGeoCanavas creates and opens a new morph of a DrGeo sketch.

My problem is: the morph only shows up on screen when the whole
Workspace code is executed. I would like the canvas morph to show up
when instantiated then get the construction code done step by step in
the screen.

Is the workspace code executed with higher priority than the user
interface thread?


Thanks

Hilaire

-- 
Dr. Geo -- http://www.drgeo.eu


Reply via email to