Then you should have a look at ColorPickerMorph  :-)


Keep in mind we are on the beginners list. I do know where this is used, and why. But if someone asks this on the beginners list it is bad advice to give.

If you know *exactly* what you are doing, like if you are working on the system-level implementation of a modal color picker, or the internal logic of an MVC-like pop-up menu that actually has to wait until closed before returning a value, then yes, #doOneCycleNow is useful. It still is a dangerous hack, because even though it looks innocuous, it is actually a recursive call on something that's not particularly designed for recursion (in Morphic, you are always in a doOneCycle already).

- Bert -

sounds like a nice class comment ;)

Cédrick