[Newbies] Just playin' around
limitcase at gmail.com
Tue Aug 13 19:40:57 UTC 2019
A TextMorph (string '15') and two SimpleButtons, one with a '+' and the
other with a '-'.
Target for both buttons is the TextMorph. The following, executed (with
DoIt) in the bottom subwindow of the '+' button inspector increments the
TextMorph by 1.
(self target) contents: ((((self target) getNumericValue) + 1)
However, a Viewer for the '+' button seems to have no target variable. And
a script for the button rejects "button up?" and "button down?" tests with
Seems I'm trying to hook up some incompatible things. How would one hook up
these three morphs, simply?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners