Hi,
This is really strange. I do not understand why it does not crash :).
Doru
On 16 Jun 2010, at 09:58, Laval Jannik wrote:
Hi,
I tried to make a script for Mondrian and I made a writing error. I put a bloc on borderColor: without the bloc parameter.
The reaction of Mondrian is strange: Rectangle becomes red..... When I remove the bloc or I put the bloc parameter (as: [:e | Color gray]), it works fine.
Here is the small script to test:
|view o o2| view := MOViewRenderer new. o := OrderedCollection new: 1000. o2 := #(1 2 3 4 5 6 7 8 9 10). 1 to: 100 do:[:i | o add: i]. (view shape: (MORectangleShape new width: 200; height: 200; withBorder; borderColor: [Color gray])). view nodes: o. view layout: (MOGridLayout new gapSize: 1). view open =============
Cheers
Jannik Laval
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"One cannot do more than one can do."