2007-12-15, 05:47 AM
Ommina Wrote:Heh - that is, almost, but not quite, letter for letter what I have. I even called it @watched in the skin.
However, changing (sticking with your example) MyImageObject.watched to true doesn't work. The image still doesn't display.
I did some checking to ensure that the property was being set correctly, and it seemed to be. If I get the @watched property out of the getCurrentItem and check the IsWatched (after appropriate casting), it does return true. But still no image.
That said, I'm changing the IsWatched property of an existing MyImageObject object, not creating a new one, so perhaps that will make a difference. (Strikes me as odd, but one never knows what kind of voodoo is going on under the sheets.) I'll try it next.
For what it is worth, even if I just change the ListItem's .Text property, that will not change on the screen either until I move the selection up or down.
This leaves me wondering if I'm missing some sort of "render changes now!" function. Although, why the text should subsequently change and not the image confuses me further.
Would that it is all happening in Notify(Type, Text) have any bearing?
I think you found a bug. I've updated attached WizUiHelper.DLL with some code that should cause rendering of the list when an item changes.
Let me know if this helps...