Login  Register

Create View funs

Posted by Janos Kazsoki on Dec 11, 2004; 9:09pm
URL: https://forum.world.st/Create-View-funs-tp3372354.html

Hi,

I am beginning my first application in DolphinSmalltalk.

Created the Package, beautiful.

A "Subcomponent" will be a drawing canvas, as in Ian's BuildShell, or
in OA's  Tutorial 2: A Scribble Pad Component, or in Ted's Companion
Book (p. 240, Creating LineGraph View, which later will be the central
component of a composite view.

The common statement in all of the above sounds like: "Create a new
subclass of #View."

OK.

In CHB went to View, right click, New..., but the OK button does not
become enabled, whatever I do: packaged, or not.

Creating a New View in the Help also does not help to much: there you
have 2 possibilities in the File/New : Shell View, or Dialog View.

But I just would like an undecorated view, on which I can draw.

So: How can you create a subclass of the #View (before creating the
presenter?

I use 5.1.4 Prof.

Many thanks,
Janos