Use makeButton:on:for: to create buttons.
Use constraintFrame:corner: to layout the views.
Use addView:in: to compose the views.
addDecrementButtonOn: aCount
| button buttonArea |
button := self makeButton: 'decrement' on: aCount for: #decrement.
buttonArea := self constraintFrame: 1/3 @ 0 corner: 2/3 @ (1/3).
self addView: button in: buttonArea.
Last modified at 7/8/97; 10:02:40 AM
Other Links of Interest
College of Computing | EduTech Institute | GVU Center
Mark Guzdial | Papers | CS 2390 Spring '97 Home Page | STABLE | MMC-CaMILE