[Cuis-dev] resolving recent Morphic changes
Mark Volkmann
r.mark.volkmann at gmail.com
Mon Sep 23 09:33:05 PDT 2024
Thanks so much Hernan! I didn't know that seeing a class with a superclass
of ProtoObject was an indication that a filein couldn't find the intended
superclass. In my case I needed to change from BoxedMorph to
BorderedBoxMorph. I also needed to change from treating padding as a single
number to treating it as a Point object with x and y values. My app is
working again!
On Mon, Sep 23, 2024 at 9:59 AM Hernán Wilkinson <
hernan.wilkinson at 10pines.com> wrote:
> If subclasses ProtoObject it is because when you file in it the superclass
> did not exist
>
>
> *Hernán WilkinsonAgile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>
> On Mon, 23 Sep 2024 at 11:46 Mark Volkmann via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> On Mon, Sep 23, 2024 at 9:37 AM <ken.dickey at whidbey.com> wrote:
>>
>>> On 2024-09-23 06:47, Mark Volkmann via Cuis-dev wrote:
>>>
>>> > On Sun, Sep 22, 2024 at 8:33 PM Juan Vuletich <juan at cuis.st> wrote:
>>>
>>> > You're trying to make a subclass of a class that no longer exists.
>>>
>>> I don't think I'm doing that. My app defines these classes:
>>>
>>> - BasicButtonMorph is a subclass of ProtoObject
>>> - BasicCheckboxMorph is a subclass of ProtoObject
>>> ...
>>>
>>> Which of my classes did you suspect was a subclass of a non-existent
>>> class?
>>>
>>> Defining a class with 'Morph' in it's name which does not inherit at
>>> some level from Morph looks suspicious.
>>>
>>
>> I totally agree. But I didn't create the TextEntryMorph class and that
>> class extends ProtoObject.
>> Here are more that also are not subclasses of Morph:
>> - AnimatedMorph
>> - CheckButtonMorph
>> - FrameMorph
>> - LineMorph
>>
>
--
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240923/6dd4e48c/attachment-0001.htm>
More information about the Cuis-dev
mailing list