TextBlock doesn't update

Don’t forget to do a window.FillRect() before Invalidating the TextBox.

The Glide examples are a great place to start…

I am new to this game but bear with me.

What are the BackColor & ShowBackColor properties for?

I experienced the problem described here and on finding that the old text was not cleared out I single stepped through the code and found this is in TextBlock’s Render: -
if (ShowBackColor)
Parent.Graphics.DrawRectangle(Rect, BackColor, Alpha);
Inspection showed that ShowBackColor was false despite being set true in the XML
I set about finding why and it transpires that there is no code include when the TextBlock XML to set either BackColor or ShowBackColor.

Having forced ShowBackColor true textblock is updating as I would expect.

@ Julia. I have just discovered that the code to read the back color for a textblock or its on/off status is not included in the XML reader. I am updating it tonight to see if it works. As you have the source code for Glide now, you can do this change yourself.

I’ll find out how to let the devs know about this and hopefully it will be fixed in the next release. For now I can make the changes myself.

Dave…