Still problems!Re: (newbee) Problem with PluggableListMorph
Marcus Pedersén
marcus.pedersen at comhem.se
Thu Nov 10 20:36:23 UTC 2005
After I have changed the list in my PluggableListMorph with pLM list:
newList.
I sent the message changed to my PluggableListMorph, to my SystemWindow, to
my Morph ( not all in once) and what happens is that the list in my
PluggableListMorph is updated with the missing item and the GUI remains the
same. I want it the oposite way.
Please help!
Marcus
----- Original Message -----
From: "karl" <karl.ramberg at chello.se>
To: "The general-purpose Squeak developers list"
<squeak-dev at lists.squeakfoundation.org>
Sent: Wednesday, November 09, 2005 9:04 PM
Subject: Re: (newbee) Problem with PluggableListMorph
> Marcus Pedersén wrote:
>
>> Hi!
>> I have a problem with a PluggableListMorph. If I remove an item in my
>> list the GUI is not updated and still shows the removed item.
>> Perhaps I'm using the wrong methods?
>> a PluggableListMorph (pLM).
>> | collection |
>> collection := pLM getList.
>> collection copyWithoutIndex: (pLM getCurrentSelectionIndex).
>> pLM list: collection.
>> If I inspectIt (the code) I see that the removed item is gone in the
>> list and if I inspect on the GUI I see that the item is gone as well.
>> But it is still present in the visual list(GUI). For some reason the GUI
>> is not updated.
>> What am I doing wrong?
>> Many thanks in advance!
>> Marcus
>>
>>------------------------------------------------------------------------
>>
>>
>>
> It needs to be told to update it self, like 'self changed' or something
> similar.
> Karl
>
>
>
More information about the Squeak-dev
mailing list
|