# Container 'Refresh'

**URL:** <https://forum.xojo.com/t/container-refresh/87660>\
**Category:** Bugs and Feature Requests\
**Created:** [February 8, 2026, 9:21pm UTC](https://forum.xojo.com/t/container-refresh/87660 "2026-02-08T21:21:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_O\_Brien](https://forum.xojo.com/user_avatar/forum.xojo.com/brian_o_brien/32/20096_2.png) [@Brian\_O\_Brien](https://forum.xojo.com/u/Brian_O_Brien)\
**Post date:** [February 8, 2026, 9:21pm UTC](https://forum.xojo.com/t/container-refresh/87660/1 "2026-02-08T21:21:43Z")

</div>

I recently created a tree view from a canvas and then embedded the canvas sub class and a scroll bar to create a tree control. I was testing the control on a window and it was working well.

I decided to add a computed property (a color) to the canvas and have that exposed in the inspector behaviour.

When I ran the application the text that should have been displayed was gone due to the color being 0.

P.S. Defining a color &cRRGGBBAA seems to loose AA and there is no way in the IDE to change the alpha of an RGB Color property.

I was told I would have to delete the control off of the window and add it again every time something in the control changed. This is kinda disappointing… Perhaps there is a way to right click on the control and ‘refresh’ it? ‘Flag it’ as out of date?

---

<div class="post-metadata">

**Author:** ![Greg\_O](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o/32/22785_2.png) [@Greg\_O](https://forum.xojo.com/u/Greg_O)\
**Post date:** [February 9, 2026, 4:14am UTC](https://forum.xojo.com/t/container-refresh/87660/2 "2026-02-09T04:14:42Z")

</div>

> [@Brian\_O\_Brien](#):
>
> was told I would have to delete the control off of the window and add it again every time something in the control changed.

That is not what I said. What you were describing was that you already had a custom control on a layout and that you changed the default value of a custom property revealed with the property inspector afterwards. _That_ requires re-adding the control. Not anything else.
