ScheduledControllers - is an UndefinedObject !!!
could not reproduce problem.
Hi Theo,
I brought up a Squeak 7137
opened an mvc project.
Copied the code from the wiki to a workspace in the
project.
Selected it and pressed Cmd-d to doit.
The result was an untitled window with the polyspiral
drawn inside.
So what did I do different from what you did?
Cheers.
Yours in curiosity and service, --Jerome Peace
***
>theo theo at new2morrow.com
>Sat Nov 3 21:46:15 UTC 2007
>
>Hi,
>
>I'm new to Squeak ST and am trying to create some
views using MVC.
>I found a sample and I've tried to run the following
in a workspace and
>get and error see below test/error...
>
>Do I need to initialize ScheduledControllers and if
so how?
>
>Thanks, Theo
>PS I'm not new to Smalltalk, I've been using Dolphin
ST Pro for a few years.
>
>
>====== test code ==============
>"from:
http://wiki.squeak.org/squeak/478 "
>
>| form pen view topView |
>form := Form extent: 300 at 300 depth: Display depth.
>form fillColor: Color green.
>pen := Pen newOnForm: form.
>pen defaultNib: 4.
>1 to: 50 do: [:i | pen go: i*4. pen turn: 89].
>view := FormView new.
>view model: form.
>view borderWidth: 2.
>topView := ColorSystemView new.
>topView model: form. "to set the correct window size"
>topView addSubView: view.
>topView controller open.
>
>=========== end of test code ==============
>
> It fails on the last line of the above,
>the error is generated by:
StandardSystemController >> open
>statement: ScheduledControllers
scheduleAvtive: self
>error: MessageNotUnderstood: UndefinedObject ..
scheduleActive:
>
>==================================
***
-
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com