thanks to Hernán Morales Durand , he pointed that *CustomerSatisfactionPresenter being a subclass of **SpPresenter* , answers the message *SpPresenter* window which renders a *SpWindowPresenter* object and *SpWindowPresenter* window renders a *SpWindow* object, which answers the message *SpWindow* bounds and *SpWindowPresenter* moveTo: x@y moves the window to the point. any other suggestions are welcome too best regards Haroldo
El dom, 16 jun 2024 a la(s) 7:08 p.m., Haroldo Stenger ( haroldo.sten...@gmail.com) escribió: > hi all there , I'm playing around with this example from the nice Spec > book, which I try to get right for spec2. That's all right. I modify the > example for having two counters, one bound to the class of the Surveys > and then one for each survey. That was a good learning experience. Then I > added a button to spawn further a Survey which participates of the class-bound > count of votes. That's all right too. Then I started to write a method > that given a Rectangle, and a number n, gives an array of n Points that > are in the enclosed circle of the rectangle, more or less. Waht I want to > achieve es that for each added Survey, its Spec2 - Morph window gets > positioned in one of these points, but before rendering it, re position > all the already existing Spec2 - Morphs Survey windows in the rest of the > points of the array (being n the total number of Surveys after adding one). > I'm facing two challenges: (a) getting the list of current positions of > Spec2 - Morph Surveys already existing. (b) moving a Spec2 - Morph window > to another position. I'm pretty stuck trying to make my way for this two > goals, so any kind help will be really welcome. Yo can import the files > into a Pharo12 image with the File manager, then Changelist Browser and > selecting all the lines and "file in". > > thanks in advance ! > Haroldo > >